From 7dbd2d351950feed113251c38097af600ad7e252 Mon Sep 17 00:00:00 2001 From: Justin Starry Date: Thu, 13 Aug 2020 11:33:37 +0800 Subject: [PATCH] fix: fix BpfLoader.programId ts type def --- web3.js/module.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3.js/module.d.ts b/web3.js/module.d.ts index 97e8d66e09..c630731eb2 100644 --- a/web3.js/module.d.ts +++ b/web3.js/module.d.ts @@ -929,7 +929,7 @@ declare module '@solana/web3.js' { // === src/bpf-loader.js === export class BpfLoader { - static programId: PublicKey; + static programId(version?: number): PublicKey; static getMinNumSignatures(dataLength: number): number; static load( connection: Connection,