tdesign-vue-next-starter/globals.d.ts
PY 75df4f1672 Feat/updateconfig (#2)
* feat: update eslint config and npmpkg

* feat: update color config

* feat: eslint update

* feat: update ts config

Co-authored-by: yue.peng <yue.peng@ly.com>
Co-authored-by: pengYYYYY <pengyue970715@gmail.com>
2021-11-26 10:45:04 +08:00

15 lines
305 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;
}