You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/baselines/reference/clodulesDerivedClasses.errors.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
tests/cases/compiler/clodulesDerivedClasses.ts(9,7): error TS2417: Class static side 'typeof Path' incorrectly extends base class static side 'typeof Shape'.
2
2
Types of property 'Utils' are incompatible.
3
-
Property 'convert' is missing in type 'typeof Utils' but required in type 'typeof Utils'.
3
+
Property 'convert' is missing in type 'typeof Path.Utils' but required in type 'typeof Shape.Utils'.
Copy file name to clipboardExpand all lines: tests/baselines/reference/differentTypesWithSameName.errors.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
tests/cases/compiler/differentTypesWithSameName.ts(16,15): error TS2345: Argument of type 'variable' is not assignable to parameter of type 'm.variable'.
2
-
Property 's' is missing in type 'variable' but required in type 'variable'.
2
+
Property 's' is missing in type 'variable' but required in type 'm.variable'.
tests/cases/compiler/c.ts(7,5): error TS2367: This condition will always return 'false' since the types 'import("tests/cases/compiler/a").F' and 'import("tests/cases/compiler/b").F' have no overlap.
2
+
tests/cases/compiler/c.ts(11,1): error TS2741: Property 'foo1' is missing in type 'import("tests/cases/compiler/b").F' but required in type 'import("tests/cases/compiler/a").F'.
3
+
4
+
5
+
==== tests/cases/compiler/a.ts (0 errors) ====
6
+
export interface F {
7
+
foo1: number
8
+
}
9
+
10
+
==== tests/cases/compiler/b.ts (0 errors) ====
11
+
export interface F {
12
+
foo2: number
13
+
}
14
+
15
+
==== tests/cases/compiler/c.ts (2 errors) ====
16
+
import * as A from './a'
17
+
import * as B from './b'
18
+
19
+
let a: A.F
20
+
let b: B.F
21
+
22
+
if (a === b) {
23
+
~~~~~~~
24
+
!!! error TS2367: This condition will always return 'false' since the types 'import("tests/cases/compiler/a").F' and 'import("tests/cases/compiler/b").F' have no overlap.
25
+
26
+
}
27
+
28
+
a = b
29
+
~
30
+
!!! error TS2741: Property 'foo1' is missing in type 'import("tests/cases/compiler/b").F' but required in type 'import("tests/cases/compiler/a").F'.
31
+
!!! related TS2728 tests/cases/compiler/a.ts:2:5: 'foo1' is declared here.
tests/cases/conformance/statements/VariableStatements/everyTypeWithAnnotationAndInvalidInitializer.ts(50,5): error TS2322: Type 'typeof N' is not assignable to type 'typeof M'.
20
20
Types of property 'A' are incompatible.
21
21
Type 'typeof N.A' is not assignable to type 'typeof M.A'.
22
-
Property 'name' is missing in type 'A' but required in type 'A'.
22
+
Property 'name' is missing in type 'N.A' but required in type 'M.A'.
23
23
tests/cases/conformance/statements/VariableStatements/everyTypeWithAnnotationAndInvalidInitializer.ts(51,5): error TS2322: Type 'N.A' is not assignable to type 'M.A'.
24
24
tests/cases/conformance/statements/VariableStatements/everyTypeWithAnnotationAndInvalidInitializer.ts(52,5): error TS2322: Type '(x: number) => boolean' is not assignable to type '(x: number) => string'.
25
25
Type 'boolean' is not assignable to type 'string'.
!!! error TS2322: Type 'typeof N' is not assignable to type 'typeof M'.
115
115
!!! error TS2322: Types of property 'A' are incompatible.
116
116
!!! error TS2322: Type 'typeof N.A' is not assignable to type 'typeof M.A'.
117
-
!!! error TS2322: Property 'name' is missing in type 'A' but required in type 'A'.
117
+
!!! error TS2322: Property 'name' is missing in type 'N.A' but required in type 'M.A'.
118
118
!!! related TS2728 tests/cases/conformance/statements/VariableStatements/everyTypeWithAnnotationAndInvalidInitializer.ts:20:9: 'name' is declared here.
Copy file name to clipboardExpand all lines: tests/baselines/reference/inlineJsxFactoryDeclarationsLocalTypes.errors.txt
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
-
tests/cases/conformance/jsx/inline/index.tsx(5,1): error TS2741: Property '__predomBrand' is missing in type 'Element' but required in type 'Element'.
1
+
tests/cases/conformance/jsx/inline/index.tsx(5,1): error TS2741: Property '__predomBrand' is missing in type 'import("tests/cases/conformance/jsx/inline/renderer").dom.JSX.Element' but required in type 'import("tests/cases/conformance/jsx/inline/renderer2").predom.JSX.Element'.
2
2
tests/cases/conformance/jsx/inline/index.tsx(21,40): error TS2322: Type 'import("tests/cases/conformance/jsx/inline/renderer").dom.JSX.Element' is not assignable to type 'import("tests/cases/conformance/jsx/inline/renderer2").predom.JSX.Element'.
3
3
tests/cases/conformance/jsx/inline/index.tsx(21,40): error TS2605: JSX element type 'MyClass' is not a constructor function for JSX elements.
4
4
Property '__domBrand' is missing in type 'MyClass' but required in type 'ElementClass'.
5
5
tests/cases/conformance/jsx/inline/index.tsx(21,63): error TS2322: Type 'import("tests/cases/conformance/jsx/inline/renderer").dom.JSX.Element' is not assignable to type 'import("tests/cases/conformance/jsx/inline/renderer2").predom.JSX.Element'.
6
6
tests/cases/conformance/jsx/inline/index.tsx(21,63): error TS2605: JSX element type 'MyClass' is not a constructor function for JSX elements.
7
-
tests/cases/conformance/jsx/inline/index.tsx(24,42): error TS2741: Property '__domBrand' is missing in type 'Element' but required in type 'Element'.
7
+
tests/cases/conformance/jsx/inline/index.tsx(24,42): error TS2741: Property '__domBrand' is missing in type 'import("tests/cases/conformance/jsx/inline/renderer2").predom.JSX.Element' but required in type 'import("tests/cases/conformance/jsx/inline/renderer").dom.JSX.Element'.
8
8
tests/cases/conformance/jsx/inline/index.tsx(24,48): error TS2322: Type 'import("tests/cases/conformance/jsx/inline/renderer2").predom.JSX.Element' is not assignable to type 'import("tests/cases/conformance/jsx/inline/renderer").dom.JSX.Element'.
9
9
10
10
@@ -75,7 +75,7 @@ tests/cases/conformance/jsx/inline/index.tsx(24,48): error TS2322: Type 'import(
75
75
let elem = prerendered;
76
76
elem = <h></h>; // Expect assignability error here
77
77
~~~~
78
-
!!! error TS2741: Property '__predomBrand' is missing in type 'Element' but required in type 'Element'.
78
+
!!! error TS2741: Property '__predomBrand' is missing in type 'import("tests/cases/conformance/jsx/inline/renderer").dom.JSX.Element' but required in type 'import("tests/cases/conformance/jsx/inline/renderer2").predom.JSX.Element'.
79
79
!!! related TS2728 tests/cases/conformance/jsx/inline/renderer2.d.ts:7:13: '__predomBrand' is declared here.
!!! error TS2741: Property '__domBrand' is missing in type 'Element' but required in type 'Element'.
110
+
!!! error TS2741: Property '__domBrand' is missing in type 'import("tests/cases/conformance/jsx/inline/renderer2").predom.JSX.Element' but required in type 'import("tests/cases/conformance/jsx/inline/renderer").dom.JSX.Element'.
111
111
!!! related TS2728 tests/cases/conformance/jsx/inline/renderer.d.ts:7:13: '__domBrand' is declared here.
112
112
~~~~~~
113
113
!!! error TS2322: Type 'import("tests/cases/conformance/jsx/inline/renderer2").predom.JSX.Element' is not assignable to type 'import("tests/cases/conformance/jsx/inline/renderer").dom.JSX.Element'.
Copy file name to clipboardExpand all lines: tests/baselines/reference/inlineJsxFactoryLocalTypeGlobalFallback.errors.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
tests/cases/conformance/jsx/inline/index.tsx(5,1): error TS2741: Property '__predomBrand' is missing in type 'Element' but required in type 'Element'.
1
+
tests/cases/conformance/jsx/inline/index.tsx(5,1): error TS2741: Property '__predomBrand' is missing in type 'JSX.Element' but required in type 'import("tests/cases/conformance/jsx/inline/renderer2").predom.JSX.Element'.
elem = <h></h>; // Expect assignability error here
47
47
~~~~
48
-
!!! error TS2741: Property '__predomBrand' is missing in type 'Element' but required in type 'Element'.
48
+
!!! error TS2741: Property '__predomBrand' is missing in type 'JSX.Element' but required in type 'import("tests/cases/conformance/jsx/inline/renderer2").predom.JSX.Element'.
49
49
!!! related TS2728 tests/cases/conformance/jsx/inline/renderer2.d.ts:7:13: '__predomBrand' is declared here.
0 commit comments