mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
58 lines
8.2 KiB
Diff
58 lines
8.2 KiB
Diff
--- old.spellingSuggestionJSXAttribute.errors.txt
|
|
+++ new.spellingSuggestionJSXAttribute.errors.txt
|
|
@@= skipped -6, +6 lines =@@
|
|
spellingSuggestionJSXAttribute.tsx(11,8): error TS2322: Type '{ for: string; class: string; }' is not assignable to type 'DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>'.
|
|
Property 'for' does not exist on type 'DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>'. Did you mean 'htmlFor'?
|
|
spellingSuggestionJSXAttribute.tsx(12,9): error TS2769: No overload matches this call.
|
|
- Overload 1 of 2, '(props: Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>): MyComp', gave the following error.
|
|
- Type '{ class: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<MyComp> & Readonly<{ children?: ReactNode; }> & Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>'.
|
|
- Property 'class' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<MyComp> & Readonly<{ children?: ReactNode; }> & Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>'. Did you mean 'className'?
|
|
- Overload 2 of 2, '(props: { className?: string | undefined; htmlFor?: string | undefined; }, context?: any): MyComp', gave the following error.
|
|
+ The last overload gave the following error.
|
|
Type '{ class: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<MyComp> & Readonly<{ children?: ReactNode; }> & Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>'.
|
|
Property 'class' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<MyComp> & Readonly<{ children?: ReactNode; }> & Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>'. Did you mean 'className'?
|
|
spellingSuggestionJSXAttribute.tsx(13,10): error TS2322: Type '{ class: string; }' is not assignable to type 'IntrinsicAttributes & { className?: string | undefined; htmlFor?: string | undefined; }'.
|
|
Property 'class' does not exist on type 'IntrinsicAttributes & { className?: string | undefined; htmlFor?: string | undefined; }'. Did you mean 'className'?
|
|
spellingSuggestionJSXAttribute.tsx(14,9): error TS2769: No overload matches this call.
|
|
- Overload 1 of 2, '(props: Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>): MyComp', gave the following error.
|
|
- Type '{ for: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<MyComp> & Readonly<{ children?: ReactNode; }> & Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>'.
|
|
- Property 'for' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<MyComp> & Readonly<{ children?: ReactNode; }> & Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>'. Did you mean 'htmlFor'?
|
|
- Overload 2 of 2, '(props: { className?: string | undefined; htmlFor?: string | undefined; }, context?: any): MyComp', gave the following error.
|
|
+ The last overload gave the following error.
|
|
Type '{ for: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<MyComp> & Readonly<{ children?: ReactNode; }> & Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>'.
|
|
Property 'for' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<MyComp> & Readonly<{ children?: ReactNode; }> & Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>'. Did you mean 'htmlFor'?
|
|
spellingSuggestionJSXAttribute.tsx(15,10): error TS2322: Type '{ for: string; }' is not assignable to type 'IntrinsicAttributes & { className?: string | undefined; htmlFor?: string | undefined; }'.
|
|
@@= skipped -46, +40 lines =@@
|
|
<MyComp class="" />;
|
|
~~~~~
|
|
!!! error TS2769: No overload matches this call.
|
|
-!!! error TS2769: Overload 1 of 2, '(props: Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>): MyComp', gave the following error.
|
|
-!!! error TS2769: Type '{ class: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<MyComp> & Readonly<{ children?: ReactNode; }> & Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>'.
|
|
-!!! error TS2769: Property 'class' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<MyComp> & Readonly<{ children?: ReactNode; }> & Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>'. Did you mean 'className'?
|
|
-!!! error TS2769: Overload 2 of 2, '(props: { className?: string | undefined; htmlFor?: string | undefined; }, context?: any): MyComp', gave the following error.
|
|
-!!! error TS2769: Type '{ class: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<MyComp> & Readonly<{ children?: ReactNode; }> & Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>'.
|
|
-!!! error TS2769: Property 'class' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<MyComp> & Readonly<{ children?: ReactNode; }> & Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>'. Did you mean 'className'?
|
|
+!!! error TS2769: The last overload gave the following error.
|
|
+!!! error TS2769: Type '{ class: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<MyComp> & Readonly<{ children?: ReactNode; }> & Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>'.
|
|
+!!! error TS2769: Property 'class' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<MyComp> & Readonly<{ children?: ReactNode; }> & Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>'. Did you mean 'className'?
|
|
+!!! related TS2771 react16.d.ts:357:13: The last overload is declared here.
|
|
<MyComp2 class="" />;
|
|
~~~~~
|
|
!!! error TS2322: Type '{ class: string; }' is not assignable to type 'IntrinsicAttributes & { className?: string | undefined; htmlFor?: string | undefined; }'.
|
|
@@= skipped -13, +11 lines =@@
|
|
<MyComp for="" />;
|
|
~~~
|
|
!!! error TS2769: No overload matches this call.
|
|
-!!! error TS2769: Overload 1 of 2, '(props: Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>): MyComp', gave the following error.
|
|
-!!! error TS2769: Type '{ for: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<MyComp> & Readonly<{ children?: ReactNode; }> & Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>'.
|
|
-!!! error TS2769: Property 'for' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<MyComp> & Readonly<{ children?: ReactNode; }> & Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>'. Did you mean 'htmlFor'?
|
|
-!!! error TS2769: Overload 2 of 2, '(props: { className?: string | undefined; htmlFor?: string | undefined; }, context?: any): MyComp', gave the following error.
|
|
-!!! error TS2769: Type '{ for: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<MyComp> & Readonly<{ children?: ReactNode; }> & Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>'.
|
|
-!!! error TS2769: Property 'for' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<MyComp> & Readonly<{ children?: ReactNode; }> & Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>'. Did you mean 'htmlFor'?
|
|
+!!! error TS2769: The last overload gave the following error.
|
|
+!!! error TS2769: Type '{ for: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<MyComp> & Readonly<{ children?: ReactNode; }> & Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>'.
|
|
+!!! error TS2769: Property 'for' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<MyComp> & Readonly<{ children?: ReactNode; }> & Readonly<{ className?: string | undefined; htmlFor?: string | undefined; }>'. Did you mean 'htmlFor'?
|
|
+!!! related TS2771 react16.d.ts:357:13: The last overload is declared here.
|
|
<MyComp2 for="" />;
|
|
~~~
|
|
!!! error TS2322: Type '{ for: string; }' is not assignable to type 'IntrinsicAttributes & { className?: string | undefined; htmlFor?: string | undefined; }'.
|