ruoyi-plus-soybean/src/typings/global.d.ts

22 lines
562 B
TypeScript
Raw Normal View History

interface Window {
$loadingBar?: import('naive-ui').LoadingBarProviderInst;
$dialog?: import('naive-ui').DialogProviderInst;
$message?: import('naive-ui').MessageProviderInst;
$notification?: import('naive-ui').NotificationProviderInst;
}
/** 通用类型 */
declare namespace Common {
/**
*
* [, true时执行的回调函数]
*/
type StrategyAction = [boolean, () => void];
2023-02-23 08:38:03 +08:00
/** 选项数据 */
type OptionWithKey<K> = { value: K; label: string };
}
/** 构建时间 */
declare const PROJECT_BUILD_TIME: string;