Rari-Capital / rari-dApp

Rari Capital's Web3 Portal.
https://app.rari.capital
GNU Affero General Public License v3.0
151 stars 69 forks source link

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

Open transmissions11 opened 3 years ago

Nathan-Patnam commented 3 years ago

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 commented 3 years ago

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