Skip to content

Commit 03117ca

Browse files
committed
Add WithAccount type
1 parent 3b17caf commit 03117ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/types/Actions.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@ export type ActionParameters<Args, ContractName extends string, Curried extends
2020
[key in ContractName]?: Address;
2121
}
2222
>;
23+
24+
export type WithAccount<Args> = Args & {
25+
account: Address;
26+
};

0 commit comments

Comments
 (0)