Check out example codes for "This expression is not constructable. Type 'Promise<any>' has no construct signatures.". It will help you in understanding the concepts better.

Code Example 1

let contextClass : any = window.AudioContext || window.webkitAudioContext;
let context: AudioContext = new contextClass();

Learn ReactJs, React Native from akashmittal.com