diff --git a/types/styled-components/test/index.tsx b/types/styled-components/test/index.tsx index 8e2bbd7f74..0802464e10 100644 --- a/types/styled-components/test/index.tsx +++ b/types/styled-components/test/index.tsx @@ -728,7 +728,7 @@ async function typedThemes() { ${({ ok }: { ok: boolean }) => ok && css` - color: ${({ theme: { color } }: { theme: typeof theme }) => color}; + color: ${({ theme: { color } }) => color}; `} `;