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

Function assertTSFunctionType

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

Source from the content-addressed store, hash-verified

1246 assert("TSThisType", node, opts);
1247}
1248export function assertTSFunctionType(
1249 node: object | null | undefined,
1250 opts?: object | null,
1251): asserts node is t.TSFunctionType {
1252 assert("TSFunctionType", node, opts);
1253}
1254export function assertTSConstructorType(
1255 node: object | null | undefined,
1256 opts?: object | null,

Callers

nothing calls this directly

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected