TypeScript/tests/baselines/reference/typeofTypeParameter.errors.txt
2014-07-12 17:30:19 -07:00

8 lines
261 B
Plaintext

==== tests/cases/conformance/types/specifyingTypes/typeQueries/typeofTypeParameter.ts (1 errors) ====
function f<T>(x: T): T {
var a: typeof x;
var y: typeof T;
~
!!! Cannot find name 'T'.
return a;
}