Error fixes and optimizations

Use VoxImplant namespace and rename module to voximplant-websdk (like
npm module)
This commit is contained in:
voximplant
2015-10-19 00:14:17 +03:00
parent 0159e32ca7
commit 1012ebed0e

View File

@@ -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;
}