Skip to content

Commit 1779f6e

Browse files
committed
fix: add type for TransactionOutput.condition
Signed-off-by: getlarge <ed@getlarge.eu>
1 parent 44dfc8f commit 1779f6e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

types/transaction.d.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ export interface TransactionInput {
2020
}
2121
export interface TransactionOutput {
2222
amount: string;
23-
// TODO: specifiy JSON conditions
24-
condition: any[];
23+
condition:
24+
| PreimageSha256JSONCondition
25+
| ThresholdSha256JSONCondition
26+
| Ed25519Sha256JSONCondition;
2527
public_keys: string[];
2628
}
2729

0 commit comments

Comments
 (0)