mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
fix: VantImports type error (#12876)
This commit is contained in:
@@ -131,6 +131,6 @@ export function VantImports(options: VantImportsOptions = {}) {
|
|||||||
const moduleType = getModuleType(options);
|
const moduleType = getModuleType(options);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
[`vant/${moduleType}`]: getAPIMap().keys(),
|
[`vant/${moduleType}`]: [...getAPIMap().keys()],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user