isTypeshadeSource
이 페이지에서

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

매개변수

source string
fileName선택 사항 unknown

반환값

boolean

소스

src/compiler/ts/source-file.ts, 728행, 커밋 c66579bf 기준

이 페이지 편집 문제 보고