14 lines
285 B
TypeScript
14 lines
285 B
TypeScript
|
// 通用声明
|
||
|
declare type ClassName = { [className: string]: any } | ClassName[] | string;
|
||
|
|
||
|
declare interface ImportMeta {
|
||
|
env: {
|
||
|
MODE: 'mock' | 'development' | 'test' | 'release' | 'site';
|
||
|
};
|
||
|
}
|
||
|
|
||
|
declare module '*.svg' {
|
||
|
const content: string;
|
||
|
export default content;
|
||
|
}
|