Skip to content

Commit

Permalink
[theme] Fix typing for single-argument call to theme.spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
m4theushw committed Apr 6, 2020
1 parent def027e commit fd5b9ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/material-ui/src/styles/createSpacing.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export type SpacingArgument = number | string;

export interface Spacing {
(): number;
(value: SpacingArgument): number;
(value: number): number;
(topBottom: SpacingArgument, rightLeft: SpacingArgument): string;
(top: SpacingArgument, rightLeft: SpacingArgument, bottom: SpacingArgument): string;
(
Expand Down

0 comments on commit fd5b9ae

Please sign in to comment.