11 lines
201 B
Text
11 lines
201 B
Text
|
=== 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
|
||
|
|