Escaping Type Checking Hell in React Typescript

Scott Beeker
May 22, 2021

--

Want to run Create React App with type errors?
When set to true, you can run and properly build TypeScript projects even if there are TypeScript type check errors. These errors are printed as warnings in the terminal and/or browser console.

Try either of the following commands from your terminal

On Unix like shells like macOS or Linux you can set env vars in the shell by adding the variable in-front of your command:

$ TSC_COMPILE_ON_ERROR=true yarn start
or

$ TSC_COMPILE_ON_ERROR=true npm start

--

--

Scott Beeker
Scott Beeker

Written by Scott Beeker

Full Stack Developer Learning something new each and every day.

No responses yet