From 40faa87c78bd6c08e589bcc73035eac2132501ef Mon Sep 17 00:00:00 2001 From: Ryan Cavanaugh Date: Mon, 8 Apr 2019 11:41:56 -0700 Subject: [PATCH] Add overload to styled-components to improve perf --- types/styled-components/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/styled-components/index.d.ts b/types/styled-components/index.d.ts index c466f0afa0846a..ccabf0354ba7c3 100644 --- a/types/styled-components/index.d.ts +++ b/types/styled-components/index.d.ts @@ -214,6 +214,7 @@ export interface ThemedStyledFunctionBase< O extends object = {}, A extends keyof any = never > { + (first: TemplateStringsArray): StyledComponent; ( first: | TemplateStringsArray