Skip to main content

Typing

How to check that the types of our code is correct?

Testing the types of our code is important, because it allows us to detect errors before they happen. It also allows us to have a better understanding of the code we are writing!

To do so, we use TypeScript! Typescript errors should appear directly in your IDE, but you can manually check for all files by running:

cd frontend
npm run types