diff --git a/packages/web3-core-helpers/types/index.d.ts b/packages/web3-core-helpers/types/index.d.ts index cb297c2ee9b..9fb58c6ea95 100644 --- a/packages/web3-core-helpers/types/index.d.ts +++ b/packages/web3-core-helpers/types/index.d.ts @@ -97,7 +97,7 @@ export class WebsocketProviderBase { reset(): void; - disconnect(code: number, reason: string): void; + disconnect(code?: number, reason?: string): void; } export class IpcProviderBase {