hasUseTypeshadeDirective()
Function in Authoring
True when the SourceFile contains at least one top-level "use typeshade".
import { hasUseTypeshadeDirective } from 'typeshade'
The signature, the description and the examples come from the compiler's own source at commit af54ddad5.
Syntax
function hasUseTypeshadeDirective(sourceFile: ts.SourceFile): booleanParameters
sourceFilets.SourceFile
Return value
boolean
Source
src/compiler/ts/directive.ts, line 39, at commit af54ddad5