diff --git a/packages/pigment-css-react/src/styled.d.ts b/packages/pigment-css-react/src/styled.d.ts index 3bc157e3..4844c542 100644 --- a/packages/pigment-css-react/src/styled.d.ts +++ b/packages/pigment-css-react/src/styled.d.ts @@ -36,7 +36,12 @@ export interface CreateStyledComponent< // Template Literal case ( styles: TemplateStringsArray, - ...args: Array<((options: ThemeArgs) => Primitve)| Primitve | React.ComponentClass | StyledArgument> + ...args: Array< + | ((options: ThemeArgs) => Primitve) + | Primitve + | React.ComponentClass + | StyledArgument + > ): StyledComponent & (Component extends string ? BaseDefaultProps : Component); /**