diff --git a/.dumi/pages/index/components/Theme/ThemePicker.tsx b/.dumi/pages/index/components/Theme/ThemePicker.tsx index dc3ff97607..ac22c57c30 100644 --- a/.dumi/pages/index/components/Theme/ThemePicker.tsx +++ b/.dumi/pages/index/components/Theme/ThemePicker.tsx @@ -85,7 +85,7 @@ const ThemePicker: React.FC = (props) => { const [locale] = useLocale(locales); return ( - {Object.keys(THEMES).map((theme: THEME, index) => ( + {(Object.keys(THEMES) as (keyof typeof THEMES)[]).map((theme, index) => (