Skip to content

Commit

Permalink
fix typing on createTypographyComponents
Browse files Browse the repository at this point in the history
  • Loading branch information
heyjul3s committed Oct 29, 2020
1 parent a9d7cd8 commit 956f9ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/typography/src/createTypographyComponents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ import { TypographyBase } from './TypographyBase';

export function createTypographyComponents<ST>(
styles: ST
): { [key in keyof unknown]: React.FC<TypographyBaseProps> } {
): { [key in keyof ST]: React.FC<TypographyBaseProps> } {
return createBaseComponents<ST, TypographyBaseProps>(TypographyBase, styles);
}

0 comments on commit 956f9ef

Please sign in to comment.