-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
I use template of react-native project from https://github.com/infinitered/ignite.
I've modified the tsconfig such that the LSP can recognize import zod/v4-mini. However, building doesn't work
The same happens in anything that's not just "zod"
the following is the modified tsconfig.json
{ "compilerOptions": { "allowJs": false, "allowSyntheticDefaultImports": true, "experimentalDecorators": true, "jsx": "react-native", "module": "NodeNext", "moduleResolution": "NodeNext", "strict": true, "noImplicitAny": true, "noImplicitReturns": true, "noImplicitThis": true, "sourceMap": true, "target": "es2020", "lib": [ "esnext", "dom" ], "skipLibCheck": true, "resolveJsonModule": true, "baseUrl": ".", "paths": { "@/*": ["./app/*"], "assets/*": ["./assets/*"] }, "typeRoots": [ "./node_modules/@types", "./types" ], }, "extends": "expo/tsconfig.base", "ts-node": { "compilerOptions": { "module": "NodeNext" } }, "include": [ "**/*.ts", "**/*.tsx" ], "exclude": [ "node_modules", "test/**/*" ] }