mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 23:12:19 +00:00
9 lines
299 B
TypeScript
9 lines
299 B
TypeScript
type foo = () => void;
|
|
type foo = (() => void) | null;
|
|
type foo = (a: i32) => i32;
|
|
type foo = (a?: i32) => i32;
|
|
type foo = (this: AClass, a: i32) => i32;
|
|
type foo = () => () => void;
|
|
type foo = () => (() => void) | null;
|
|
type foo = (this: AClass, a: i32) => ((this: BClass, b?: f32) => i32) | null;
|