// Error: Argument of type 'string[]' is not assignable to parameter of type 'string'.// Error: Argument of type 'string[]' is not assignable to parameter of type 'string'.
타입스크립트의
JSDoc
지원은 시간이 충분하지 않은 프로젝트나 타입스크립트로 변환하는 데
익숙하지 않은 개발자를 위해 타입 검사를 점진적으로 추가하는 데 유용합니다.
지원되는
JSDoc
구문 전체 목록은
https
://
www
.
typescriptlang
.
org
/
ko
/
docs
/
handbook
/
jsdoc
-
supported
-
types
.
html
에서 확인할 수 있습니다.
13.9
구성 확장구성 확장
점점 더 많은 타입스크립트 프로젝트를 진행하게 되면서 반복적으로 동일한 프로젝트 설정을
작성하는 자신을 발견하게 될 것입니다. 비록 타입스크립트는 구성 파일을 자바스크립트로 작
성하거나
import
또는
require
사용을 허용하지 않지만,
TSConfig
파일이 다른 구성 파일에
서 구성 값을 확장
extend ...
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.