- 重构 enums: 按业务域合并为 5 个文件 - 创建 config: storage.ts, vxe-table.ts - 删除 plugins,功能迁移到 main.ts - 创建完整 types 结构 - 新增 utils: validators, websocket, register-components - 创建 router/guards/permission.ts - 更新配置文件
15 lines
308 B
TypeScript
15 lines
308 B
TypeScript
/**
|
|
* 第三方模块类型声明
|
|
*/
|
|
|
|
declare module "*.vue" {
|
|
import type { DefineComponent } from "vue";
|
|
const component: DefineComponent<{}, {}, any>;
|
|
export default component;
|
|
}
|
|
|
|
declare module "sockjs-client/dist/sockjs.min.js" {
|
|
import Client from "sockjs-client";
|
|
export default Client;
|
|
}
|