mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-22 11:40:10 +08:00
Error fixes and optimizations
Use VoxImplant namespace and rename module to voximplant-websdk (like npm module)
This commit is contained in:
+6
-2
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Alexey Aylarov <https://github.com/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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user