8 lines
156 B
TypeScript
8 lines
156 B
TypeScript
//// [genericCallWithNonGenericArgs1.ts]
|
|
function f<T>(x: any) { }
|
|
f<any>(null)
|
|
|
|
|
|
//// [genericCallWithNonGenericArgs1.js]
|
|
function f(x) { }
|
|
f(null);
|