mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
1.0 KiB
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) ====
|
|
{
|