This was we don't get noisy baselines just because a different phase of the compiler reported the diagnostic. This helps with Yui's refactoring work to move grammar checks into the type checker.
10 lines
No EOL
464 B
Text
10 lines
No EOL
464 B
Text
tests/cases/conformance/parser/ecmascript5/Types/parserTypeQuery3.ts(1,15): error TS2304: Cannot find name 'A'.
|
|
tests/cases/conformance/parser/ecmascript5/Types/parserTypeQuery3.ts(1,17): error TS1003: Identifier expected.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/Types/parserTypeQuery3.ts (2 errors) ====
|
|
var v: typeof A.
|
|
~
|
|
!!! error TS2304: Cannot find name 'A'.
|
|
|
|
!!! error TS1003: Identifier expected. |