Files
tsgo/testdata/baselines/reference/submoduleAccepted/compiler/jsxClassAttributeResolution.errors.txt.diff

18 lines
1.0 KiB
Diff

--- old.jsxClassAttributeResolution.errors.txt
+++ new.jsxClassAttributeResolution.errors.txt
@@= skipped -0, +0 lines =@@
-file.tsx(2,19): error TS2741: Property 'ref' is missing in type '{}' but required in type 'IntrinsicClassAttributesAlias<T>'.
+file.tsx(2,19): error TS2322: Type '{}' is not assignable to type 'IntrinsicClassAttributes<T>'.
+ Property 'ref' is missing in type '{}' but required in type 'IntrinsicClassAttributesAlias<T>'.
==== file.tsx (1 errors) ====
class App {}
export const a = <App></App>;
~~~
-!!! error TS2741: Property 'ref' is missing in type '{}' but required in type 'IntrinsicClassAttributesAlias<T>'.
+!!! error TS2322: Type '{}' is not assignable to type 'IntrinsicClassAttributes<T>'.
+!!! error TS2322: Property 'ref' is missing in type '{}' but required in type 'IntrinsicClassAttributesAlias<T>'.
!!! related TS2728 node_modules/@types/react/index.d.ts:2:5: 'ref' is declared here.
==== node_modules/@types/react/package.json (0 errors) ====
{