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
Here there - I am trying to use it in a typescript environment and get an error on the "text" attribute (
<ClampLines
text="whatever"
....
I guess it's missing typings (and I am new to this stuff) - any chance to quick fix this? Thank you!! Cheers, Boris
"No overload matches this call.
Overload 1 of 2, '(props: Readonly): ClampLines', gave the following error.
Type 'EditableValue' is not assignable to type 'string'.
Overload 2 of 2, '(props: ClampLinesProps, context?: any): ClampLines', gave the following error.
Type 'EditableValue' is not assignable to type 'string'.ts(2769)
index.d.ts(4, 3): The expected type comes from property 'text' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<...>'
index.d.ts(4, 3): The expected type comes from property 'text' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<...>'
The text was updated successfully, but these errors were encountered:
Here there - I am trying to use it in a typescript environment and get an error on the "text" attribute (
<ClampLines
text="whatever"
....
I guess it's missing typings (and I am new to this stuff) - any chance to quick fix this? Thank you!! Cheers, Boris
"No overload matches this call.
Overload 1 of 2, '(props: Readonly): ClampLines', gave the following error.
Type 'EditableValue' is not assignable to type 'string'.
Overload 2 of 2, '(props: ClampLinesProps, context?: any): ClampLines', gave the following error.
Type 'EditableValue' is not assignable to type 'string'.ts(2769)
index.d.ts(4, 3): The expected type comes from property 'text' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<...>'
index.d.ts(4, 3): The expected type comes from property 'text' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<...>'
The text was updated successfully, but these errors were encountered: