admin-vben/packages/preferences/src/index.ts

18 lines
501 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

import type { Preferences } from '@vben-core/preferences';
import type { DeepPartial } from '@vben-core/typings';
/**
* 如果你想所有的app都使用相同的默认偏好设置你可以在这里定义
* 而不是去修改 @vben-core/preferences 中的默认偏好设置
* @param preferences
* @returns
*/
function defineOverridesPreferences(preferences: DeepPartial<Preferences>) {
return preferences;
}
export { defineOverridesPreferences };
export * from '@vben-core/preferences';