This video is available to students only
Setting up TypeScript
So far so good! We're going to use TypeScript throughout the course, so we have to set it up. Let's do that now.
The first thing to do, of course, is add a Typescript dependency.
Let's run npm install typescript -D
.
After that we need to add the file tsconfig.json
, a config that the typescript compiler uses to tune its various settings.
This page is a preview of The newline Guide to Creating a React Hooks Library