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
Type '{ children: string[]; hoverTip: string; clickTip: string; variant: "inline-compact"; isCode: true; }' is not assignable to type 'Pick<Readonly<ClipboardCopyProps>, "children">'.
Types of property 'children' are incompatible.
Type 'string[]' is not assignable to type 'string'.ts(2322)
Is this issue blocking you? No. Workaround is to ignore the warning
No. Workaround is to wrap the children in a statement, e.g.
Describe the problem
Code itself allows for children of
string[]
but did not have the types setup correctly.Expected behavior
tsc
does not complain that something like this is incorrectIs this issue blocking you?
No. Workaround is to ignore the warningNo. Workaround is to wrap the children in a statement, e.g.
The text was updated successfully, but these errors were encountered: