f1a2e41a8a
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.
18 lines
814 B
Plaintext
18 lines
814 B
Plaintext
tests/cases/compiler/dontShowCompilerGeneratedMembers.ts(1,5): error TS2322: Type 'number' is not assignable to type '{ (): any; x: number; }'.
|
|
Property 'x' is missing in type 'Number'.
|
|
tests/cases/compiler/dontShowCompilerGeneratedMembers.ts(3,6): error TS1139: Type parameter declaration expected.
|
|
tests/cases/compiler/dontShowCompilerGeneratedMembers.ts(4,1): error TS1109: Expression expected.
|
|
|
|
|
|
==== tests/cases/compiler/dontShowCompilerGeneratedMembers.ts (3 errors) ====
|
|
var f: {
|
|
~
|
|
!!! error TS2322: Type 'number' is not assignable to type '{ (): any; x: number; }'.
|
|
!!! error TS2322: Property 'x' is missing in type 'Number'.
|
|
x: number;
|
|
<-
|
|
~
|
|
!!! error TS1139: Type parameter declaration expected.
|
|
};
|
|
~
|
|
!!! error TS1109: Expression expected. |