How to use the isInterfaceDeclaration function from typescript

Find comprehensive JavaScript typescript.isInterfaceDeclaration code examples handpicked from public code repositorys.

161
162
163
164
165
166
167
168
169
170
ts.isImportEqualsDeclaration(s) ||
ts.isExportDeclaration(s) ||
ts.isExportAssignment(s) ||
// as well as many declarations
ts.isTypeAliasDeclaration(s) ||
ts.isInterfaceDeclaration(s) ||
ts.isModuleDeclaration(s) ||
ts.isEnumDeclaration(s) ||
(isGlobal && (
    // in global scripts we don't wrap classes and functions so they can be accessed from non-global scripts
fork icon116
star icon294
watch icon29

+ 3 other calls in file

Other functions in typescript

Sorted by popularity

function icon

typescript.SyntaxKind is the most popular function in typescript (82777 examples)