diff --git a/voximplant-websdk/voximplant-websdk.d.ts b/voximplant-websdk/voximplant-websdk.d.ts index 1609b6e707..2e715d7701 100644 --- a/voximplant-websdk/voximplant-websdk.d.ts +++ b/voximplant-websdk/voximplant-websdk.d.ts @@ -3,7 +3,7 @@ // Definitions by: Alexey Aylarov // Definitions: https://github.com/borisyankov/DefinitelyTyped -declare module VoxImplant { +declare namespace VoxImplant { module Events { @@ -727,7 +727,7 @@ declare module VoxImplant { * * @param config Client configuration options */ - init(config: Config): void; + init(config?: Config): void; /** * Check if WebRTC support is available */ @@ -1163,3 +1163,7 @@ declare module VoxImplant { function version(): String; } + +declare module "voximplant-websdk" { + export = VoxImplant; +}