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

Function assertAnyTypeAnnotation

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

Source from the content-addressed store, hash-verified

544 assert("ImportAttribute", node, opts);
545}
546export function assertAnyTypeAnnotation(
547 node: object | null | undefined,
548 opts?: object | null,
549): asserts node is t.AnyTypeAnnotation {
550 assert("AnyTypeAnnotation", node, opts);
551}
552export function assertArrayTypeAnnotation(
553 node: object | null | undefined,
554 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected