*Update dist
This commit is contained in:
parent
e8ead4bb73
commit
b7e337e966
|
@ -89,10 +89,10 @@ export const factory = function (type, module) {
|
||||||
if (typeof prop !== "function") {
|
if (typeof prop !== "function") {
|
||||||
return prop;
|
return prop;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (desc?.get) {
|
if (desc?.get) {
|
||||||
return target[property];
|
return target[property];
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return async (...args) => {
|
return async (...args) => {
|
||||||
await target.loadLibs(module);
|
await target.loadLibs(module);
|
||||||
return target[property](...args);
|
return target[property](...args);
|
||||||
|
|
Reference in New Issue