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: src/compiler/types.ts
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3658,6 +3658,7 @@ namespace ts {
3658
3658
hasSuperCall?: boolean;// recorded result when we try to find super-call. We only try to find one if this flag is undefined, indicating that we haven't made an attempt.
3659
3659
superCall?: SuperCall;// Cached first super-call found in the constructor. Used in checking whether super is called before this-accessing
3660
3660
switchTypes?: Type[];// Cached array of switch case expression types
3661
+
jsxNamespace?: Symbol|false;// Resolved jsx namespace symbol for this node
Copy file name to clipboardExpand all lines: tests/baselines/reference/inlineJsxFactoryDeclarationsLocalTypes.errors.txt
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,6 @@ tests/cases/conformance/jsx/inline/index.tsx(21,22): error TS2322: Type '{ child
6
6
Types of property 'children' are incompatible.
7
7
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[]'.
8
8
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'.
9
-
tests/cases/conformance/jsx/inline/index.tsx(21,40): error TS2605: JSX element type 'MyClass' is not a constructor function for JSX elements.
10
9
tests/cases/conformance/jsx/inline/index.tsx(21,40): error TS2605: JSX element type 'MyClass' is not a constructor function for JSX elements.
11
10
Property '__domBrand' is missing in type 'MyClass'.
12
11
tests/cases/conformance/jsx/inline/index.tsx(21,63): error TS2605: JSX element type 'MyClass' is not a constructor function for JSX elements.
@@ -77,7 +76,7 @@ tests/cases/conformance/jsx/inline/index.tsx(24,23): error TS2322: Type '{ child
import prerendered, {MySFC, MyClass, tree} from "./component";
@@ -111,8 +110,6 @@ tests/cases/conformance/jsx/inline/index.tsx(24,23): error TS2322: Type '{ child
111
110
!!! 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[]'.
112
111
!!! 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'.
113
112
~~~~~~~~~~~~~~~~~~~~~~~
114
-
!!! error TS2605: JSX element type 'MyClass' is not a constructor function for JSX elements.
115
-
~~~~~~~~~~~~~~~~~~~~~~~
116
113
!!! error TS2605: JSX element type 'MyClass' is not a constructor function for JSX elements.
117
114
!!! error TS2605: Property '__domBrand' is missing in type 'MyClass'.
0 commit comments