From b383c0c873f715cbd36a8a4b218cc705964d0cc3 Mon Sep 17 00:00:00 2001 From: Igor Oleinikov Date: Thu, 25 Oct 2018 23:09:09 -0700 Subject: [PATCH] fix TS 2.9 error --- types/styled-components/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/styled-components/index.d.ts b/types/styled-components/index.d.ts index 023274bf2a..f436b8d490 100644 --- a/types/styled-components/index.d.ts +++ b/types/styled-components/index.d.ts @@ -82,7 +82,7 @@ export interface ThemedStyledFunction { strings: TemplateStringsArray, ...interpolations: Array>> ): StyledComponentClass

; - attrs & { [others: string]: unknown; } = {}>( + attrs & { [others: string]: any; } = {}>( attrs: Attrs

, ): ThemedStyledFunction, T, DiffBetween>; }