4 lines
No EOL
234 B
Text
4 lines
No EOL
234 B
Text
==== 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'. |