11 lines
152 B
JavaScript
11 lines
152 B
JavaScript
|
//// [genericCallWithoutArgs.ts]
|
||
|
function f<X, Y>(x: X, y: Y) {
|
||
|
}
|
||
|
|
||
|
f<number,string>.
|
||
|
|
||
|
//// [genericCallWithoutArgs.js]
|
||
|
function f(x, y) {
|
||
|
}
|
||
|
f();
|