5 lines
172 B
TypeScript
5 lines
172 B
TypeScript
function x2(callback: (x?: number) => number);
|
|
function x2(callback: (x: string) => number);
|
|
function x2(callback: (x: any) => number) { }
|
|
x2(() => 1);
|
|
x2((x) => 1 );
|