diff --git a/packages/uni-api/src/type.ts b/packages/uni-api/src/type.ts index 2744a6670993fa15a4eb3a8c43dfc8bcbc56f899..86d15136b103959e9f6a269f70f1bb0b7a63dc97 100644 --- a/packages/uni-api/src/type.ts +++ b/packages/uni-api/src/type.ts @@ -54,9 +54,10 @@ type AsyncApiLike = (args: any) => Promise | void type AsyncApiOptions = Parameters[0] -type AsyncApiRes = Parameters< - Exclude ->[0] +type AsyncApiRes = Omit< + Parameters>[0], + 'errMsg' +> type AsyncApiRequired =

( args: P