TypeScript/tests/baselines/reference/typeofInObjectLiteralType.errors.txt
2014-09-12 13:35:07 -07:00

7 lines
346 B
Plaintext

tests/cases/compiler/typeofInObjectLiteralType.ts(1,31): error TS2304: Cannot find name 'b'.
==== 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.
~
!!! error TS2304: Cannot find name 'b'.