Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nlmarco opened this issue Feb 24, 2023 · 0 comments

Comments

@nlmarco
Copy link

nlmarco commented Feb 24, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant