Skip to content

Commit

Permalink
fix: createTheme method has wrong types (#1254)
Browse files Browse the repository at this point in the history
  • Loading branch information
flagoon authored Jul 1, 2022
1 parent 20405b9 commit bd983a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion styled-breakpoints/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ export declare function createStyledBreakpoints(
export declare function createTheme<T extends Record<string, string>>(
breakpoints: T
): {
['styled-breakpoints']: T;
['styled-breakpoints']: { breakpoints: T };
};

0 comments on commit bd983a1

Please sign in to comment.