Describe the bug
Error: node_modules/resize-observer-polyfill/src/index.d.ts:19:18 - error TS2717: Subsequent property declarations must have the same type. Property 'contentRect' must be of type 'DOMRectReadOnly', but here has type 'DOMRectReadOnly'.
19 readonly contentRect: DOMRectReadOnly;
To Reproduce
Steps to reproduce the behavior:
- use angular13
- with typescript 4.6.4
- npm start
- See error
Expected behavior
The issue is because of the latest version of TypeScript ships with an official type definition, which this library conflicts with.
Describe the bug
Error: node_modules/resize-observer-polyfill/src/index.d.ts:19:18 - error TS2717: Subsequent property declarations must have the same type. Property 'contentRect' must be of type 'DOMRectReadOnly', but here has type 'DOMRectReadOnly'.
19 readonly contentRect: DOMRectReadOnly;
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The issue is because of the latest version of TypeScript ships with an official type definition, which this library conflicts with.