We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug My TypeScript won't work anyway.
To Reproduce Copying the components as per the documentation, I make sure all the copied paths are okay
Expected behavior Type inference should work properly
Screenshots
Platform (please complete the following information):
Additional context Here is my tsconfig
{ "extends": "expo/tsconfig.base", "compilerOptions": { "allowSyntheticDefaultImports": true, "jsx": "preserve", "lib": [ "dom", "esnext" ], "moduleResolution": "node", "noEmit": true, "skipLibCheck": true, "resolveJsonModule": true, "target": "esnext", "allowJs": true, "forceConsistentCasingInFileNames": true, "esModuleInterop": true, "module": "esnext", "isolatedModules": true, "strict": true, "baseUrl": "./src", "types": [ "nativewind/types" ], "paths": { "@/*": [ "./*" ] } }, "include": [ "app.d.ts", "**/*.ts", "**/*.tsx" ], }
The text was updated successfully, but these errors were encountered:
Seems related to: redwoodjs/redwood#5104 When I add the following lines to tsconfig.json, the type works correctly.
tsconfig.json
"compilerOptions": { "paths": { "react": [ "./node_modules/@types/react" ] } }
Sorry, something went wrong.
I had this issue when updating my packages with npx expo install --fix. I had to delete my node_modules and install them again to fix it.
npx expo install --fix
node_modules
No branches or pull requests
Describe the bug
My TypeScript won't work anyway.
To Reproduce
Copying the components as per the documentation, I make sure all the copied paths are okay
Expected behavior
Type inference should work properly
Screenshots
Platform (please complete the following information):
Additional context
Here is my tsconfig
The text was updated successfully, but these errors were encountered: