Skip to content

Commit

Permalink
Missed a few hash typeof shenanigans
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Bellamy committed Sep 29, 2022
1 parent cd76114 commit 447f6bd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions types/next.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2252,9 +2252,9 @@ export namespace xdr {

const PeerStatList: XDRArray<PeerStats>;

const TxAdvertVector: XDRArray<Hash>;
const TxAdvertVector: XDRArray<typeof Hash>;

const TxDemandVector: XDRArray<Hash>;
const TxDemandVector: XDRArray<typeof Hash>;

const Hash: Opaque;

Expand Down Expand Up @@ -5249,9 +5249,9 @@ export namespace xdr {
}

class FloodAdvert {
constructor(attributes: { txHashes: Hash[] });
constructor(attributes: { txHashes: Array<typeof Hash> });

txHashes(value?: Hash[]): Hash[];
txHashes(value?: Array<typeof Hash>): Array<typeof Hash>;

toXDR(format?: 'raw'): Buffer;

Expand All @@ -5275,9 +5275,9 @@ export namespace xdr {
}

class FloodDemand {
constructor(attributes: { txHashes: Hash[] });
constructor(attributes: { txHashes: Array<typeof Hash> });

txHashes(value?: Hash[]): Hash[];
txHashes(value?: Array<typeof Hash>): Array<typeof Hash>;

toXDR(format?: 'raw'): Buffer;

Expand Down

0 comments on commit 447f6bd

Please sign in to comment.