개념


설치

npm install -g typescript

사용법

1. .ts 로 끝나는 파일 생성
2. tsconfig.json 파일 생성 후 내용 작성
3. tsc -w 를 입력하여 ts -> js 파일로 컴파일