Skip to content

Commit

Permalink
fix(types): make props nullable on certain read apis
Browse files Browse the repository at this point in the history
  • Loading branch information
Atticus committed Mar 4, 2024
1 parent 5c80242 commit f8ff552
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/types/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ export interface ArIOContract {
props: { address: WalletAddress } & ReadInteractionFilters,
): Promise<Gateway>;
getGateways(
props: ReadInteractionFilters,
props?: ReadInteractionFilters,
): Promise<Record<WalletAddress, Gateway>>;
getBalance(
props: { address: WalletAddress } & ReadInteractionFilters,
): Promise<number>;
getBalances(
props: ReadInteractionFilters,
props?: ReadInteractionFilters,
): Promise<Record<WalletAddress, number>>;
getArNSRecord(
props: { domain: string } & ReadInteractionFilters,
): Promise<ArNSNameData>;
getArNSRecords(
prop: ReadInteractionFilters,
props?: ReadInteractionFilters,
): Promise<Record<string, ArNSNameData>>;
}

Expand Down

0 comments on commit f8ff552

Please sign in to comment.