TypeScript/tests/baselines/reference/genericCallWithNonGenericArgs1.types
2014-08-15 14:37:48 -07:00

11 lines
201 B
Plaintext

=== tests/cases/compiler/genericCallWithNonGenericArgs1.ts ===
function f<T>(x: any) { }
>f : <T>(x: any) => void
>T : T
>x : any
f<any>(null)
>f<any>(null) : void
>f : <T>(x: any) => void