Files
test-repo/tests/format/flow/union/comments.js
T

10 lines
177 B
JavaScript

type Foo = (
| "thing1" // Comment1
| "thing2" // Comment2
)[]; // Final comment1
type Foo = (
| "thing1" // Comment1
| "thing2" // Comment2
) & Bar; // Final comment2