DetectRTC icon indicating copy to clipboard operation
DetectRTC copied to clipboard

DetectRTC.d.ts incompatible with Angular 15 + TypeScript 4.9.5, error TS1046

Open nlmarco opened this issue 2 years ago • 0 comments

I'm currently upgrading our project to Angular 15 + TypeScript 4.9.5 and building it now fails with the following error:

✖ Compiling with Angular sources in Ivy partial compilation mode.
node_modules/detectrtc/DetectRTC.d.ts:10:1 - error TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.

10 namespace DetectRTC {
   ~~~~~~~~~

We're using the newest version of detectrtc: 1.4.1 -- at least, I couldn't find a newer one.

Could you please fix this and release a version compatible with Angular 15?

nlmarco avatar Feb 24 '23 07:02 nlmarco