Skip to content

Commit

Permalink
Merge pull request #154 from zhangfisher/master
Browse files Browse the repository at this point in the history
fix: 修复`extraArgs`类型缺失
  • Loading branch information
fantasticsoul authored Jan 26, 2024
2 parents d3a464f + f3ada8b commit 6a58509
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/helux-core/src/types/base.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,10 @@ export interface IMutateTaskParam<T = SharedState, P extends Arr = Arr, E extend
/** deps 返回的结果 */
input: P;
extraBound: IBoundStateInfo<E>;
/**
* 额外参数,用来传递给 mutate 的fn和task函数
*/
extraArgs?: any;
}

/**
Expand Down

0 comments on commit 6a58509

Please sign in to comment.