Skip to content

Commit

Permalink
fix(types): use partial write type
Browse files Browse the repository at this point in the history
  • Loading branch information
Atticus committed Mar 29, 2024
1 parent f5e7774 commit fa6a638
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/common/ar-io.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ import { RemoteContract } from './contracts/remote-contract.js';
import { InvalidSignerError, WarpContract } from './index.js';

export class ArIO implements ArIOContract, BaseContract<ArIOState> {
private contract:
| (BaseContract<ArIOState> & ReadContract)
| (BaseContract<ArIOState> & ReadContract & WriteContract);
private contract: BaseContract<ArIOState> &
ReadContract &
Partial<WriteContract>;
private signer: ContractSigner | undefined;

constructor(
Expand Down

0 comments on commit fa6a638

Please sign in to comment.