prettier/tests/flow_method/method.js

6 lines
144 B
JavaScript

type T = { method: () => void };
type T = { method(): void };
declare class X { method(): void }
declare function f(): void;
var f: () => void;