fix(projects): 修复图标的TS类型

This commit is contained in:
Soybean
2022-08-03 22:38:29 +08:00
parent ed9cd6ce39
commit dbd676095b
2 changed files with 14 additions and 1 deletions

View File

@ -7,3 +7,16 @@ declare namespace BMap {
}
declare const TMap: any;
declare module 'virtual:icons/*' {
import type { FunctionalComponent, SVGAttributes } from 'vue';
const component: FunctionalComponent<SVGAttributes>;
export default component;
}
declare module '~icons/*' {
import type { FunctionalComponent, SVGAttributes } from 'vue';
const component: FunctionalComponent<SVGAttributes>;
export default component;
}