TS2351: This expression is not constructable. Type '{ name: any; price: any; available: boolean; }' has no construct signatures. code example
Example: This expression is not constructable. Type 'Promise' has no construct signatures.
let contextClass : any = window.AudioContext || window.webkitAudioContext;
let context: AudioContext = new contextClass();