Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

react add typescript to existing project

yarn add typescript @types/node @types/react @types/react-dom @types/jest --dev
#...then rename your .js files to .tsx
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #react #add #typescript #existing #project
ADD COMMENT
Topic
Name
9+2 =