[styled-components] Remove unneeded annotation

This raises an implicitAny error in 3.7, but builds correctly on older versions.
This commit is contained in:
Jessica 2019-11-01 14:38:30 +09:00
parent d59a388790
commit b42902ce60

View File

@ -728,7 +728,7 @@ async function typedThemes() {
${({ ok }: { ok: boolean }) =>
ok &&
css`
color: ${({ theme: { color } }: { theme: typeof theme }) => color};
color: ${({ theme: { color } }) => color};
`}
`;