diff --git a/packages/mui-system/src/createTheme/createSpacing.ts b/packages/mui-system/src/createTheme/createSpacing.ts index 90387c81ce51a7..3e0db4679233ce 100644 --- a/packages/mui-system/src/createTheme/createSpacing.ts +++ b/packages/mui-system/src/createTheme/createSpacing.ts @@ -13,7 +13,7 @@ export type SpacingArgument = number | string; // We express the difference with variable names. export interface Spacing { (): string; - (value: number): string; + (value: SpacingArgument): string; (topBottom: SpacingArgument, rightLeft: SpacingArgument): string; (top: SpacingArgument, rightLeft: SpacingArgument, bottom: SpacingArgument): string; (