Files
bsky-social-app/tsconfig.check.web.json
Oleksii Bulenok 45aa1a67b0 Expo 57 (#11334)
Co-authored-by: Tomek Zawadzki <tomekzawadzki98@gmail.com>
Co-authored-by: vineyardbovines <spencerfpope@gmail.com>
2026-08-18 10:46:11 -04:00

40 lines
1.3 KiB
JSON

{
"extends": "./tsconfig.json",
"compilerOptions": {
"moduleSuffixes": [".web", ""],
"paths": {
"#/*": ["./src/*"],
"crypto": ["./src/platform/crypto.ts"],
/*
* expo-file-system/legacy resolves to the package's raw TypeScript
* source, whose internals break under .web module suffixes. Point it
* at the compiled declarations, where skipLibCheck applies.
*/
"expo-file-system/legacy": [
"./node_modules/expo-file-system/build/legacy/index.d.ts"
],
/*
* Mirrors the root tsconfig mapping (paths does not merge across
* extends): expo-file-system 57's `exports` map blocks the deep type
* imports in src/platform/misc.web-check.d.ts.
*/
"expo-file-system/build/*": ["./node_modules/expo-file-system/build/*"],
/*
* The react-native exports condition resolves to the package's raw
* TypeScript source, whose findNodeHandle usage breaks under the web
* pass. Point it at the compiled declarations, where skipLibCheck
* applies.
*/
"react-native-view-shot": [
"./node_modules/react-native-view-shot/lib/index.d.ts"
]
}
},
"include": [
"index.web.ts",
"src/**/*.web.ts",
"src/**/*.web.tsx",
"src/platform/*.web-check.d.ts"
]
}