isTypeshadeSource()
함수, 작성 분류
Return whether a TypeScript source string opts into TypeShade with the "use typeshade" directive.
import { isTypeshadeSource } from 'typeshade'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
function isTypeshadeSource(source: string, fileName = 'check.ts'): boolean매개변수
sourcestringfileName선택 사항unknown
반환값
boolean
소스
src/compiler/ts/source-file.ts, 728행, 커밋 c66579bf 기준