Skip to content

Commit

Permalink
fix: udpate PublicKey flow def (solana-labs#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry authored and mvines committed Jun 15, 2020
1 parent e5c4a54 commit 88b3d65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web3.js/module.flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ import BN from 'bn.js';
declare module '@solana/web3.js' {
// === src/publickey.js ===
declare export class PublicKey {
constructor(number: string | Buffer | Array<number>): PublicKey;
constructor(value: number | string | Buffer | Array<number>): PublicKey;
static isPublicKey(o: Object): boolean;
equals(publickey: PublicKey): boolean;
toBase58(): string;
toBuffer(): Buffer;
toString(): string;
}

// === src/blockhash.js ===
Expand Down

0 comments on commit 88b3d65

Please sign in to comment.