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
No overload matches this call.
Overload 1 of 2, '(props: RichEditorProps | Readonly<RichEditorProps>): RichEditor', gave the following error.
Type 'RefObject<unknown>' is not assignable to type 'LegacyRef<RichEditor> | undefined'.
Type 'RefObject<unknown>' is not assignable to type 'RefObject<RichEditor>'.
Type 'unknown' is not assignable to type 'RichEditor'.
Overload 2 of 2, '(props: RichEditorProps, context: any): RichEditor', gave the following error.
Type 'RefObject<unknown>' is not assignable to type 'LegacyRef<RichEditor> | undefined'.ts(2769)
index.d.ts(125, 9): The expected type comes from property 'ref' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes<RichEditor> & Readonly<RichEditorProps>'
index.d.ts(125, 9): The expected type comes from property 'ref' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes<RichEditor> & Readonly<RichEditorProps>'
Code:
Error:
Versions:
The text was updated successfully, but these errors were encountered: