Skip to Content
러닝 타입스크립트
book

러닝 타입스크립트

by 조시 골드버그, 고승원
January 2023
Beginner to intermediate
372 pages
8h 47m
Korean
Hanbit Media, Inc.
Content preview from 러닝 타입스크립트
282
3
사용법
emitDeclarationOnly
가 활성화된 경우 이번 장의 후반부에서 살펴볼
declaration
또는
composite
컴파일러 옵션을 활성화해야 합니다.
예를 들어
fruits
/
apple
.
ts
vegetables
/
zucchini
.
ts
가 있는 디렉터리에서
tsc
--
dec
laration
emitDeclarationOnly
를 실행하면 출력
.
js
파일 없이
fruits
/
apple
.
d
.
ts
vegetables
/
zucchini
.
d
.
ts
출력 선언 파일이 생성됩니다.
fruits/
apple.d.ts
apple.ts
vegetables/
zucchini.d.ts
zucchini.ts
13.5.4 13.5.4
소스소스
소스 맵
source
map
은 출력 파일의 내용이 원본 소스 파일과 어떻게 일치하는지에 대한 설명입니
다. 소스 맵은 출력 파일을 탐색할 때 디버거 같은 개발자 도구에서 원본 소스 코드를 표시하도
록 설정합니다. 브라우저 개발자 도구와
IDE
에서 디버깅하는 동안 원본 소스 파일 내용을 볼
수 있도록 하는 시각적인 디버거에 특히 소스 맵이 유용합니다. 타입스크립트는 출력 파일과
함께 소스 맵을 출력하는 기능도 제공합니다.
sourceMap
타입스크립트의
sourceMap
컴파일러 옵션을 사용하면
.
js
또는
.
jsx
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.
Start your free trial

You might also like

이펙티브 타입스크립트

이펙티브 타입스크립트

Dan Vanderkam
견고한 데이터 엔지니어링

견고한 데이터 엔지니어링

조 라이스, 맷 하우슬리
파이썬으로 살펴보는 아키텍처 패턴

파이썬으로 살펴보는 아키텍처 패턴

오현석, 해리 퍼시벌, 밥 그레고리

Publisher Resources

ISBN: 9791169210638