diff --git a/packages/pigment-css-react/src/styled.d.ts b/packages/pigment-css-react/src/styled.d.ts index 70c02784..3bc157e3 100644 --- a/packages/pigment-css-react/src/styled.d.ts +++ b/packages/pigment-css-react/src/styled.d.ts @@ -33,9 +33,10 @@ export interface CreateStyledComponent< Component extends React.ElementType, OuterProps extends object, > { + // Template Literal case ( styles: TemplateStringsArray, - ...args: Array<((options: ThemeArgs) => Primitve) | Primitve | React.ComponentClass> + ...args: Array<((options: ThemeArgs) => Primitve)| Primitve | React.ComponentClass | StyledArgument> ): StyledComponent & (Component extends string ? BaseDefaultProps : Component); /**