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

러닝 타입스크립트

by 조시 골드버그, 고승원
January 2023
Beginner to intermediate
372 pages
8h 47m
Korean
Hanbit Media, Inc.
Content preview from 러닝 타입스크립트
297
13
구성 옵션
즉,
esModuleInterop
true
이지만
module
"
esnext
"
인 경우 타입스크립트는 컴파일된
출력 자바스크립트 코드가 가져오기 상호 운용성 지원을 사용하지 않는다고 가정합니다.
import React from "react";
// ~~~~~// ~~~~~
// Error: Module '"file:///node_modules/@types/react/index"' can only be// Error: Module '"file:///node_modules/@types/react/index"' can only be
// default-imported using the 'allowSyntheticDefaultImports' flag'.// default-imported using the 'allowSyntheticDefaultImports' flag'.
13.7.4 13.7.4
isolatedModulesisolatedModules
한 번에 하나의 파일에서만 작동하는 바벨과 같은 외부 트랜스파일러는 타입 시스템 정보를 사
용해 자바스크립트를 내보낼 수 없습니다. 결과적으로 타입 정보에 의존하며 자바스크립트를
내보내는 타입스크립트 구문 기능은 바벨 같은 트랜스파일러에서는 지원되지 않습니다.
14
장 ‘구문 확장’에서 다룰 ...
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