Function
InterfaceTypeAnnotation
(
this: Printer,
node: t.InterfaceTypeAnnotation,
)
Source from the content-addressed store, hash-verified
| 442 | } |
| 443 | |
| 444 | export function InterfaceTypeAnnotation( |
| 445 | this: Printer, |
| 446 | node: t.InterfaceTypeAnnotation, |
| 447 | ) { |
| 448 | this.word("interface"); |
| 449 | if (node.extends?.length) { |
| 450 | this.space(); |
| 451 | this.word("extends"); |
| 452 | this.space(); |
| 453 | this.printList(node.extends); |
| 454 | } |
| 455 | this.space(); |
| 456 | this.print(node.body); |
| 457 | } |
| 458 | |
| 459 | export function IntersectionTypeAnnotation( |
| 460 | this: Printer, |
Callers
nothing calls this directly
Tested by
no test coverage detected