2017-02-04 18:23:37 -08:00
|
|
|
type T = { method: () => void };
|
2019-10-09 19:52:11 +08:00
|
|
|
type T2 = { method(): void };
|
2017-02-04 18:23:37 -08:00
|
|
|
declare class X { method(): void }
|
|
|
|
|
declare function f(): void;
|
|
|
|
|
var f: () => void;
|
2017-06-01 19:02:15 -07:00
|
|
|
|
|
|
|
|
declare class X {
|
|
|
|
|
static deserialize(): mixed,
|
|
|
|
|
static deserialize: () => mixed,
|
|
|
|
|
}
|
2018-08-02 22:19:21 -05:00
|
|
|
|
|
|
|
|
interface I {
|
|
|
|
|
static(): number;
|
|
|
|
|
}
|