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, '(template: TemplateStringsArray, ...args: CSSInterpolation[]): string', gave the following error.
Argument of type'{ position: string; }' is not assignable to parameter of type'TemplateStringsArray'.
Type '{ position: string; }' is missing the following properties from type'TemplateStringsArray': raw, length, concat, join, and 17 more.
Overload 2 of 2, '(...args: CSSInterpolation[]): string', gave the following error.
Argument of type'{ position: string; }' is not assignable to parameter of type'CSSInterpolation'.
Type '{ position: string; }' is not assignable to type'CSSObject'.
Types of property 'position' are incompatible.
Type 'string' is not assignable to type'Position | Position[]'.ts(2769)
I can work around by casting to CSSObject but its not great.
The text was updated successfully, but these errors were encountered:
I am not sure if this is specific to tss-react or another emotion issue, but I am finding this happens with the typings
TS error:
I can work around by casting to CSSObject but its not great.
The text was updated successfully, but these errors were encountered: