diff --git a/packages/@core/composables/src/use-layout-style.ts b/packages/@core/composables/src/use-layout-style.ts index c153c8e3f..ed95ecb78 100644 --- a/packages/@core/composables/src/use-layout-style.ts +++ b/packages/@core/composables/src/use-layout-style.ts @@ -15,9 +15,11 @@ import { useCssVar } from '@vueuse/core'; export function useLayoutContentStyle() { const contentElement = ref(null); - const overlayStyle = computed( - (): CSSProperties => ({ inset: 0, position: 'absolute', zIndex: 150 }), - ); + const overlayStyle = computed((): CSSProperties => ({ + inset: 0, + position: 'absolute', + zIndex: 150, + })); return { contentElement, overlayStyle }; } diff --git a/packages/@core/preferences/src/types.ts b/packages/@core/preferences/src/types.ts index fcb71c847..28fd0e0f3 100644 --- a/packages/@core/preferences/src/types.ts +++ b/packages/@core/preferences/src/types.ts @@ -76,10 +76,9 @@ type CustomPreferencesField< string extends Extract ? AnyCustomPreferencesField : { - [K in Extract< - keyof TCustomPreferences, - string - >]: TCustomPreferences[K] extends boolean + [ + K in Extract + ]: TCustomPreferences[K] extends boolean ? CustomPreferencesSwitchField : TCustomPreferences[K] extends number ? CustomPreferencesNumberField diff --git a/packages/effects/plugins/src/vxe-table/use-vxe-grid.ts b/packages/effects/plugins/src/vxe-table/use-vxe-grid.ts index 8d7a2e471..451ff1a44 100644 --- a/packages/effects/plugins/src/vxe-table/use-vxe-grid.ts +++ b/packages/effects/plugins/src/vxe-table/use-vxe-grid.ts @@ -14,9 +14,9 @@ import { VxeGridApi } from './api'; import VxeGrid from './use-vxe-grid.vue'; type FilteredSlots = { - [K in keyof VxeGridSlots as K extends 'form' - ? never - : K]: VxeGridSlots[K]; + [ + K in keyof VxeGridSlots as K extends 'form' ? never : K + ]: VxeGridSlots[K]; }; export function useVbenVxeGrid<