17 lines
431 B
TypeScript
17 lines
431 B
TypeScript
import type { Preferences } from '@vben-core/preferences';
|
||
import type { DeepPartial } from '@vben-core/typings';
|
||
|
||
/**
|
||
* 如果你想所有的app都使用相同的默认偏好设置,你可以在这里定义
|
||
* @param preferences
|
||
* @returns
|
||
*/
|
||
|
||
function defineOverridesPreferences(preferences: DeepPartial<Preferences>) {
|
||
return preferences;
|
||
}
|
||
|
||
export { defineOverridesPreferences };
|
||
|
||
export * from '@vben-core/preferences';
|