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

4 lines
234 B
Plaintext

==== tests/cases/compiler/typeofInObjectLiteralType.ts (1 errors) ====
var a: { b: number; c: typeof b }; // Should give error for attempting to use type query on b.
~
!!! Cannot find name 'b'.