mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
241 B
TypeScript
12 lines
241 B
TypeScript
//// [tests/cases/compiler/genericCallWithNonGenericArgs1.ts] ////
|
|
|
|
//// [genericCallWithNonGenericArgs1.ts]
|
|
function f<T>(x: any) { }
|
|
f<any>(null)
|
|
|
|
|
|
//// [genericCallWithNonGenericArgs1.js]
|
|
"use strict";
|
|
function f(x) { }
|
|
f(null);
|