prettier/tests/flow_method/method.js

15 lines
268 B
JavaScript
Raw Normal View History

type T = { method: () => void };
type T = { method(): void };
declare class X { method(): void }
declare function f(): void;
var f: () => void;
declare class X {
static deserialize(): mixed,
static deserialize: () => mixed,
}
2018-08-03 06:19:21 +03:00
interface I {
static(): number;
}