Files
bsky-social-app/tsconfig.json
Claude 47293de3ac Add moduleSuffixes to tsconfig
Resolve platform-specific modules native-first ([".ios", ".android",
".native", ""]) during typechecking, matching the react-native
customConditions already set by the base config. Typecheck now sees the
.native variants of web-only modules, so their throw-stubs gain real
signatures (typed props, never return, error class exports) to keep
their web consumers typechecking correctly.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BCuMKXWHuyGoNhTVAHBMyk
2026-07-16 21:13:17 +03:00

23 lines
617 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"],
},
"plugins": [
{
"name": "ts-plugin-sort-import-suggestions",
"moveUpPatterns": ["#/", "@lingui/react/macro"],
"moveDownPatterns": ["react-native-reanimated/lib"],
}
]
},
"exclude": ["bskyweb", "bskyembed", "web-build"]
}