MCPcopy Create free account
hub / github.com/Snapchat/Valdi / hasExportModuleAnnotation

Function hasExportModuleAnnotation

compiler/companion/src/AST.ts:473–479  ·  view source on GitHub ↗
(nodeToDump: NodeToDump)

Source from the content-addressed store, hash-verified

471 text: string;
472 kind: ts.SyntaxKind;
473 modifiers: string[] | undefined;
474 function?: AST.Function;
475 enum?: AST.Enum;
476 interface?: AST.Interface;
477 variable?: AST.Variable;
478 exportedTypeAlias?: string;
479}
480
481const GENERATE_OR_EXPORT_ANNOTATION_REGEX = /@Generate|@Export/;
482const NATIVE_ANNOTATION_REGEX = /@Native/;

Callers 1

dumpRootNodesFunction · 0.85

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected