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

Function TSArrayType

packages/babel-generator/src/generators/typescript.ts:333–338  ·  view source on GitHub ↗
(this: Printer, node: t.TSArrayType)

Source from the content-addressed store, hash-verified

331}
332
333export function TSArrayType(this: Printer, node: t.TSArrayType) {
334 this.print(node.elementType, true);
335
336 this.token("[");
337 this.token("]");
338}
339
340export function TSTupleType(this: Printer, node: t.TSTupleType) {
341 this.token("[");

Callers

nothing calls this directly

Calls 2

printMethod · 0.45
tokenMethod · 0.45

Tested by

no test coverage detected