Skip to content

Commit

Permalink
Add overload to styled-components to improve perf
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanCavanaugh committed Apr 8, 2019
1 parent 6b1bda6 commit 40faa87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/styled-components/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ export interface ThemedStyledFunctionBase<
O extends object = {},
A extends keyof any = never
> {
(first: TemplateStringsArray): StyledComponent<C, T, O, A>;
(
first:
| TemplateStringsArray
Expand Down

0 comments on commit 40faa87

Please sign in to comment.