Some small error fixes

This commit is contained in:
WolverinDEV 2020-04-01 15:40:45 +02:00
parent 3f907c627d
commit b297147f98
2 changed files with 3 additions and 8 deletions

View file

@ -615,6 +615,4 @@ loader.register_task(loader.Stage.LOADED, {
}
},
priority: 20
});
export = {};
});

View file

@ -65,12 +65,9 @@ declare global {
let remarkable: typeof window.remarkable;
class webkitAudioContext extends AudioContext {}
class webkitOfflineAudioContext extends OfflineAudioContext {}
interface Window {
readonly webkitAudioContext: typeof webkitAudioContext;
readonly AudioContext: typeof webkitAudioContext;
readonly webkitAudioContext: typeof AudioContext;
readonly AudioContext: typeof OfflineAudioContext;
readonly OfflineAudioContext: typeof OfflineAudioContext;
readonly webkitOfflineAudioContext: typeof webkitOfflineAudioContext;
readonly RTCPeerConnection: typeof RTCPeerConnection;