Kesshi Posted February 23, 2017 Share Posted February 23, 2017 I updated to typescript 2.2.1 (from 2.1.6). I get the following error now if i build my project: node_modules/typescript/lib/lib.dom.d.ts(1380,11): error TS2320: Interface 'AudioContext' cannot simultaneously extend types 'AudioContextBase' and 'EventTarget'. Named property 'addEventListener' of types 'AudioContextBase' and 'EventTarget' are not identical. The compiler options to reproduce this: "target": "es5" "lib": ["es2015", "dom"] The problem seems to be this line: https://github.com/BabylonJS/Babylon.js/blob/master/src/babylon.mixins.ts#L44 Maybe this mixin can be removed now? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.