TypeScript/tests/baselines/reference/genericCallWithNonGenericArgs1.types
2015-04-13 14:29:37 -07:00

12 lines
449 B
Plaintext

=== tests/cases/compiler/genericCallWithNonGenericArgs1.ts ===
function f<T>(x: any) { }
>f : <T>(x: any) => void, Symbol(f, Decl(genericCallWithNonGenericArgs1.ts, 0, 0))
>T : T, Symbol(T, Decl(genericCallWithNonGenericArgs1.ts, 0, 11))
>x : any, Symbol(x, Decl(genericCallWithNonGenericArgs1.ts, 0, 14))
f<any>(null)
>f<any>(null) : void
>f : <T>(x: any) => void, Symbol(f, Decl(genericCallWithNonGenericArgs1.ts, 0, 0))
>null : null