UNPKG

vue2-tunnel-lining

Version:

A Vue2 component for tunnel lining design with MxCAD integration

33 lines (29 loc) 714 B
declare module '*.js' { const content: any; export default content; } declare module '*.ts' { const content: any; export default content; } // 为 Setting 目录中的文件添加声明 declare module '@/Setting/ChenQi/LinColorText' { export class LinColorText { constructor(); // 添加其他必要的方法和属性 } } // 为 mxcad 添加类型声明 declare module 'mxcad' { export function createMxCad(config: any): Promise<any>; export class McGePoint3d { constructor(x: number, y: number, z: number); } // 添加其他必要的类和函数 } // 声明全局变量 declare global { interface Window { // 添加全局变量声明 } }