Skip to content

Commit

Permalink
chore: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed May 24, 2024
1 parent 2f7aad8 commit 288aacf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/types/contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ export type ContractFunctionParameters<
| (functionName extends allFunctionNames ? functionName : never) // infer value
args?: (abi extends Abi ? UnionWiden<args> : never) | allArgs | undefined
} & (readonly [] extends allArgs ? {} : { args: Widen<args> }) &
// TODO: Remove `GetValue` from here (should be applied to top-level type as separate utility)
GetValue<abi, functionName>

export type ContractFunctionReturnType<
Expand Down

0 comments on commit 288aacf

Please sign in to comment.