mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
11 lines
247 B
XML
11 lines
247 B
XML
// @strict: true
|
|
|
|
// Repro from #25559
|
|
|
|
declare function call<TS extends unknown[]>(
|
|
handler: (...args: TS) => void,
|
|
...args: TS): void;
|
|
|
|
call((x: number, y: number) => x + y);
|
|
call((x: number, y: number) => x + y, 1, 2, 3, 4, 5, 6, 7);
|