Skip to content
New issue

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

File an issue in the Next.js repo about typescript strict mode not working #422

Open
transmissions11 opened this issue May 26, 2021 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@transmissions11
Copy link
Collaborator

No description provided.

@transmissions11 transmissions11 added the question Further information is requested label May 26, 2021
@Nathan-Patnam
Copy link

Nathan-Patnam commented Jul 1, 2021

I haven't used Next.js before, but I assume you have already tried this https://nextjs.org/docs/api-reference/next.config.js/react-strict-mode or

TypeScript strict mode is turned off by default. When you feel comfortable with TypeScript, it's recommended to turn it on in your tsconfig.json.

in https://nextjs.org/docs/basic-features/typescript

@transmissions11
Copy link
Collaborator Author

I haven't used Next.js before, but I assume you have already tried this https://nextjs.org/docs/api-reference/next.config.js/react-strict-mode or

TypeScript strict mode is turned off by default. When you feel comfortable with TypeScript, it's recommended to turn it on in your tsconfig.json.

in https://nextjs.org/docs/basic-features/typescript

Hmm I think react strict mode is seperate from typescript strict mode which we tried enabling in ts-config but errors were still not caught in dev mode:

https://nextjs.org/docs/basic-features/typescript

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants