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/inlineJsxFactoryDeclarationsLocalTypes.errors.txt
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
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
-
tests/cases/conformance/jsx/inline/index.tsx(21,41): error TS2774: 'MyClass' cannot be used as a JSX component.
3
+
tests/cases/conformance/jsx/inline/index.tsx(21,41): error TS2782: 'MyClass' cannot be used as a JSX component.
4
4
Its instance type 'MyClass' is not a valid JSX element.
5
5
Property '__domBrand' is missing in type 'MyClass' but required in type 'ElementClass'.
6
6
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'.
7
-
tests/cases/conformance/jsx/inline/index.tsx(21,64): error TS2774: 'MyClass' cannot be used as a JSX component.
7
+
tests/cases/conformance/jsx/inline/index.tsx(21,64): error TS2782: 'MyClass' cannot be used as a JSX component.
8
8
Its instance type 'MyClass' is not a valid JSX element.
9
9
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'.
10
10
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'.
@@ -98,15 +98,15 @@ tests/cases/conformance/jsx/inline/index.tsx(24,48): error TS2322: Type 'import(
98
98
~~~~~~~~~~~~~~~~~~~~~~~
99
99
!!! 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'.
100
100
~~~~~~~
101
-
!!! error TS2774: 'MyClass' cannot be used as a JSX component.
102
-
!!! error TS2774: Its instance type 'MyClass' is not a valid JSX element.
103
-
!!! error TS2774: Property '__domBrand' is missing in type 'MyClass' but required in type 'ElementClass'.
101
+
!!! error TS2782: 'MyClass' cannot be used as a JSX component.
102
+
!!! error TS2782: Its instance type 'MyClass' is not a valid JSX element.
103
+
!!! error TS2782: Property '__domBrand' is missing in type 'MyClass' but required in type 'ElementClass'.
104
104
!!! related TS2728 tests/cases/conformance/jsx/inline/renderer.d.ts:7:13: '__domBrand' is declared here.
105
105
~~~~~~~~~~~~~~~~~~~~~~~
106
106
!!! 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'.
107
107
~~~~~~~
108
-
!!! error TS2774: 'MyClass' cannot be used as a JSX component.
109
-
!!! error TS2774: Its instance type 'MyClass' is not a valid JSX element.
108
+
!!! error TS2782: 'MyClass' cannot be used as a JSX component.
109
+
!!! error TS2782: Its instance type 'MyClass' is not a valid JSX element.
110
110
111
111
// Should fail, nondom isn't allowed as children of dom
0 commit comments