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

Function assertClassDeclaration

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

Source from the content-addressed store, hash-verified

352 assert("ClassExpression", node, opts);
353}
354export function assertClassDeclaration(
355 node: object | null | undefined,
356 opts?: object | null,
357): asserts node is t.ClassDeclaration {
358 assert("ClassDeclaration", node, opts);
359}
360export function assertExportAllDeclaration(
361 node: object | null | undefined,
362 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected