13 lines
148 B
TypeScript
13 lines
148 B
TypeScript
|
// @allowJs: true
|
||
|
// @noEmit: true
|
||
|
|
||
|
// @filename: foo.js
|
||
|
function f(a, b, c) { }
|
||
|
|
||
|
|
||
|
// @filename: bar.ts
|
||
|
f();
|
||
|
f(1);
|
||
|
f(1, 2);
|
||
|
f(1, 2, 3);
|