mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
64 lines
602 B
JavaScript
64 lines
602 B
JavaScript
// @flow
|
|
|
|
type Foo = {
|
|
// comment
|
|
...,
|
|
};
|
|
|
|
type Foo = {
|
|
/* comment */
|
|
...,
|
|
};
|
|
|
|
type Foo = { /* comment */ ... };
|
|
|
|
type Foo = { /* comment */
|
|
...};
|
|
|
|
type Foo = { // comment
|
|
...};
|
|
|
|
type Foo = {
|
|
// comment0
|
|
// comment1
|
|
...,
|
|
};
|
|
|
|
type Foo = {
|
|
/* comment0 */
|
|
/* comment1 */
|
|
...,
|
|
};
|
|
|
|
type Foo = {
|
|
// comment
|
|
foo: string,
|
|
...
|
|
};
|
|
|
|
type Foo = {
|
|
// comment0
|
|
// comment1
|
|
foo: string,
|
|
...
|
|
};
|
|
|
|
type Foo = {
|
|
/* comment */
|
|
foo: string,
|
|
...
|
|
};
|
|
|
|
type Foo = {
|
|
/* comment */
|
|
[string]: string,
|
|
...
|
|
};
|
|
|
|
type Foo = {
|
|
/* comment0 */
|
|
/* comment1 */
|
|
foo: string,
|
|
...
|
|
};
|