Making it running for Windows (Part 2b)

This commit is contained in:
WolverinDEV 2019-09-01 21:41:05 +02:00
parent 4cdc6b4996
commit a5839b8c71
6 changed files with 7 additions and 7 deletions

View File

@ -118,4 +118,4 @@ namespace audio.player {
}
}
Object.assign(window["audio"] || (window["audio"] = {}), audio);
Object.assign(window["audio"] || (window["audio"] = {} as any), audio);

View File

@ -505,5 +505,5 @@ export namespace _audio.recorder {
}
}
Object.assign(window["audio"] || (window["audio"] = {}), _audio);
Object.assign(window["audio"] || (window["audio"] = {} as any), _audio);
_audio.recorder.devices(); /* query devices */

View File

@ -167,7 +167,7 @@ namespace _transfer {
}));
}
private try_put(data: FormData, url: string): Promise<void> {
try_put(data: FormData, url: string): Promise<void> {
throw "what the hell?";
}
}
@ -183,4 +183,4 @@ namespace _transfer {
}
}
Object.assign(window["transfer"] || (window["transfer"] = {}), _transfer);
Object.assign(window["transfer"] || (window["transfer"] = {} as any), _transfer);

View File

@ -315,4 +315,4 @@ export namespace _connection {
console.log("Call to destroy a server connection");
}
}
Object.assign(window["connection"] || (window["connection"] = {}), _connection);
Object.assign(window["connection"] || (window["connection"] = {} as any), _connection);

View File

@ -242,4 +242,4 @@ namespace _dns {
dns_handler.setServers(["8.8.8.8", "8.8.8.4", "1.1.1.1"]);
}
Object.assign(window["dns"] || (window["dns"] = {}), _dns);
Object.assign(window["dns"] || (window["dns"] = {} as any), _dns);

View File

@ -130,5 +130,5 @@ namespace _ppt {
return current_state.special[code];
}
}
Object.assign(window["ppt"] || (window["ppt"] = {}), _ppt);
Object.assign(window["ppt"] || (window["ppt"] = {} as any), _ppt);
console.dir(_ppt);