기본적으로 타입스크립트는 출력 파일을 해당 소스 파일과 동일한 위치에 생성합니다. 예를 들
어
fruits
/
apple
.
ts
와
vegetables
/
zucchini
.
ts
가 포함된 디렉터리에서
tsc
를 실행하면
출력 파일
fruits
/
apple
.
js
와
vegetables
/
zucchini
.
js
가 생성됩니다.
fruits/
apple.js
apple.ts
vegetables/
zucchini.js
zucchini.ts ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.