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

Function assertTypeScript

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

Source from the content-addressed store, hash-verified

1792 assert("Accessor", node, opts);
1793}
1794export function assertTypeScript(
1795 node: object | null | undefined,
1796 opts?: object | null,
1797): asserts node is t.TypeScript {
1798 assert("TypeScript", node, opts);
1799}
1800export function assertTSTypeElement(
1801 node: object | null | undefined,
1802 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected