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

Function ArrayTypeAnnotation

packages/babel-generator/src/generators/flow.ts:15–22  ·  view source on GitHub ↗
(
  this: Printer,
  node: t.ArrayTypeAnnotation,
)

Source from the content-addressed store, hash-verified

13}
14
15export function ArrayTypeAnnotation(
16 this: Printer,
17 node: t.ArrayTypeAnnotation,
18) {
19 this.print(node.elementType, true);
20 this.token("[");
21 this.token("]");
22}
23
24export function BooleanTypeAnnotation(this: Printer) {
25 this.word("boolean");

Callers

nothing calls this directly

Calls 2

printMethod · 0.45
tokenMethod · 0.45

Tested by

no test coverage detected