How can I prevent the error from appearing in my console.log?
An error message - 'Cannot use 'new' with an expression whose type lacks a call or construct signature.' - keeps popping up.
var audioContext = new window.AudioContext();
Is there any other method to resolve this issue?
var AudioContext = <any>window.AudioContext || <any>window.webkitAudioContext;
var audioContext = new AudioContext();