$ npm init -y
pacakage.json 생성
$npm i -D typescript
타입스크립트 설치
tsconfig.json 설정 { "compilerOptions": { "strict": true, "target": "ES2015", "outDir": "dist", "baseUrl": "./" }, "include": [ "src/**/*.ts" ] }
tsconfig.json 설정
{ "compilerOptions": { "strict": true, "target": "ES2015", "outDir": "dist", "baseUrl": "./" }, "include": [ "src/**/*.ts" ] }
다양한 옵션들 임의로 설정할 수 있음!