MCPcopy Create free account
hub / github.com/babel/babel / assertModuleDeclaration

Function assertModuleDeclaration

packages/babel-types/src/asserts/generated/index.ts:1834–1840  ·  view source on GitHub ↗
(node: any, opts: any)

Source from the content-addressed store, hash-verified

1832 assert("SpreadProperty", node, opts);
1833}
1834export function assertModuleDeclaration(node: any, opts: any): void {
1835 deprecationWarning(
1836 "assertModuleDeclaration",
1837 "assertImportOrExportDeclaration",
1838 );
1839 assert("ModuleDeclaration", node, opts);
1840}

Callers

nothing calls this directly

Calls 2

deprecationWarningFunction · 0.85
assertFunction · 0.70

Tested by

no test coverage detected