From 724114928a260f7250f786070ab0839737a142e5 Mon Sep 17 00:00:00 2001 From: Adel Ak <47484379+Ryiski@users.noreply.github.com> Date: Sun, 24 Sep 2023 11:48:47 +0300 Subject: [PATCH] [@mantine/core] Fix broken `theme.other` type override type in .d.ts files (#4831) * [@mantine/core] Fix broken other theme override type * ran prettier --- src/mantine-core/src/core/MantineProvider/theme.types.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mantine-core/src/core/MantineProvider/theme.types.ts b/src/mantine-core/src/core/MantineProvider/theme.types.ts index a68d55d7294..d3725108f2b 100644 --- a/src/mantine-core/src/core/MantineProvider/theme.types.ts +++ b/src/mantine-core/src/core/MantineProvider/theme.types.ts @@ -155,7 +155,9 @@ export type MantineSpacing = keyof MantineSpacingValues | (string & {}) | number export type MantineShadow = keyof MantineShadowsValues | (string & {}); export type MantineLineHeight = keyof MantineLineHeightValues; -export type MantineThemeOther = Record; +export interface MantineThemeOther { + [key: string]: any; +} export interface MantineGradient { from: string;