
$ npm install -g typescripttsc(TS Compiler) 명령으로 tsconfig.json(컴파일러 설정) 초기화(생성).$ npx tsc --init.ts 확장자 파일 생성 후 이용.$ tsc -w. (저장시 자동 컴파일).js 파일 사용.$ npm install --save typescript @types/node @types/react @types/react-dom @types/jest$ npx create-react-app 프로젝트명 --template typescript