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

Function assertExportDeclaration

packages/babel-types/src/asserts/generated/index.ts:1716–1721  ·  view source on GitHub ↗
(
  node: object | null | undefined,
  opts?: object | null,
)

Source from the content-addressed store, hash-verified

1714 assert("ImportOrExportDeclaration", node, opts);
1715}
1716export function assertExportDeclaration(
1717 node: object | null | undefined,
1718 opts?: object | null,
1719): asserts node is t.ExportDeclaration {
1720 assert("ExportDeclaration", node, opts);
1721}
1722export function assertModuleSpecifier(
1723 node: object | null | undefined,
1724 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected