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

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Scott Beeker
Scott Beeker

Written by Scott Beeker

Full Stack Developer Learning something new each and every day.

No responses yet

Write a response