TypeScript/tests/baselines/reference/genericCallWithNonGenericArgs1.types

11 lines
437 B
Text

=== 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