tdesign-vue-next-starter/globals.d.ts
pengYYYYY b322bceefc fix: const naming (merge request !8)
Squash merge branch 'fix/eslint/constnaming' into 'develop'
fix: const naming
2021-09-02 02:37:24 +00:00

18 lines
308 B
TypeScript

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