vue2-tunnel-lining
Version:
A Vue2 component for tunnel lining design with MxCAD integration
15 lines (13 loc) • 356 B
TypeScript
// shims-vue.d.ts
declare module '*.vue' {
import Vue from 'vue'
export default Vue
}
declare module 'mxdraw' {
export const loadCoreCode: () => Promise<void>
// 添加其他需要的MxDraw类型声明
}
declare module 'mxcad' {
export const createMxCad: (config: any) => Promise<any>
// 添加其他需要的MxCad类型声明
}