30 lines
997 B
JSON
30 lines
997 B
JSON
{
|
|
"extends": "@react-native/typescript-config/tsconfig.json",
|
|
"compilerOptions": {
|
|
"jsx": "react-jsx",
|
|
"module": "esnext",
|
|
"moduleSuffixes": [".ios", ".android", ".native", ""],
|
|
"lib": ["dom", "esnext"],
|
|
"types": ["node", "jest"],
|
|
"paths": {
|
|
"#/*": ["./src/*"],
|
|
"crypto": ["./src/platform/crypto.ts"],
|
|
/*
|
|
* expo-file-system 57 ships an `exports` map without `./build/*`, which
|
|
* blocks the deep type imports in src/platform/misc.web-check.d.ts
|
|
* under `moduleResolution: "bundler"`. Type-check-only escape hatch.
|
|
*/
|
|
"expo-file-system/build/*": ["./node_modules/expo-file-system/build/*"],
|
|
},
|
|
"plugins": [
|
|
{
|
|
"name": "ts-plugin-sort-import-suggestions",
|
|
"moveUpPatterns": ["#/", "@lingui/react/macro"],
|
|
"moveDownPatterns": ["react-native-reanimated/lib"],
|
|
}
|
|
],
|
|
"customConditions": ["react-native-strict-api"]
|
|
},
|
|
"exclude": ["bskyweb", "bskyembed", "web-build"]
|
|
}
|