Skip to content

suraj328/typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

//for creating new react project
#optional(create app not working case)
step 1 : npm install -g create-react-app
#creating react app with typescript
step 2 : npx create-react-app app-name --template typescript


//converting old react js project to react typescript
step 1 : npm install --save typescript @types/node @types/react @types/react-dom
step 2 : change react js file extension to tsx(js->tsx)
step 3 : npx tsc --init



About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published