Full error message:
Interface 'InAppBrowser' incorrectly extends interface 'Window'. Types of property 'addEventListener' are incompatible. Type '{ (type: "loadstart", callback: (event: InAppBrowserEvent) => void): void; (type: "loadstop", cal...' is not assignable to type '{ (type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void; (type...'. Types of parameters 'type' and 'type' are incompatible. Type '"batterystatus"' is not assignable to type '"loadstart"'.
My TypeScript Cordova project compiled fined before I installed TypeScript 2.4.1 for Dev14. Now I get above error.