Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'StyledArgument<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>>'.
Type 'TemplateStringsArray' is not assignable to type 'CSSOthersObject<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>> & { ...; }'.
Type 'TemplateStringsArray' is not assignable to type 'CSSOthersObject<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>>'.
Index signature for type 'string' is missing in type 'TemplateStringsArray'.ts(2345)
Steps to reproduce
Try adding props types to the tagged string literal, e.g.:
Current behavior
Throws TS error:
Expected behavior
It should accept props definition.
Context
It makes sense to be fixed once https://github.com/mui/pigment-css/issues/82 is fixed.
Your environment
``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ```npx @mui/envinfo
Search keywords: typescript, props, tagged string template