Open
Description
Describe the bug
Getting DOMError while doing ng serve in angular.
Error: node_modules/@twilio/rtc-diagnostics/es5/lib/errors/DiagnosticError.d.ts:10:15 - error TS2304: Cannot find name 'DOMError'.
10 domError: DOMError | DOMException | undefined;
~~~~~~~~
Error: node_modules/@twilio/rtc-diagnostics/es5/lib/errors/DiagnosticError.d.ts:27:28 - error TS2304: Cannot find name 'DOMError'.
27 constructor(domError?: DOMError | DOMException, message?: string);
× Failed to compile.
To Reproduce
Install the @twilio/rtc-diagnostics and then do ng serve in angular.
Expected behavior
It should build the project without any error.
Environment
- OS: Windows 11 Pro
- Browser: chrome Version 115.0.5790.110 (Official Build) (64-bit)
- Node.js version: v18.16.0
- [email protected]
"@twilio/rtc-diagnostics": "^1.0.1",