tdesign-vue-next-starter/globals.d.ts

16 lines
355 B
TypeScript
Raw Normal View History

// 通用声明
declare type ClassName = { [className: string]: any } | ClassName[] | string;
declare interface ImportMeta {
env: {
MODE: 'mock' | 'development' | 'test' | 'release';
};
// eslint-disable-next-line no-unused-vars
glob: (url: string) => { url };
}
declare module '*.svg' {
const CONTENT: string;
export default CONTENT;
}