fixed compile error within the opus worker

This commit is contained in:
WolverinDEV 2019-03-31 13:22:01 +02:00
parent c21726cb3f
commit 359cf5a254

View file

@ -4,7 +4,7 @@ const WASM_ERROR_MESSAGES = [
'no native wasm support detected'
];
this["Module"] = this["Module"] || {};
this["Module"] = this["Module"] || ({} as any); /* its required to cast {} to any!*/
let initialized = false;
Module['onRuntimeInitialized'] = function() {