Cannot find name 'DOMRect'
kaito3desuyo opened this issue · comments
kaito3desuyo commented
Hello.
I use angular-sticky-things@1.1.2 with Angular 5.2.8. However, I get the following error.
ERROR in node_modules/@w11k/angular-sticky-things/lib/sticky-thing.directive.d.ts(40,53): error TS2304: Cannot find name 'DOMRect'.
Is there a solution?
Luka Perovic commented
I have exactly the same issue..
comemanu commented
same, not usable :(
Deleted user commented
@brdzamasina @kaito3desuyo @comemanu please try using the current latest version 1.2.1. if the error still occurs, please provide more information. which angular, typescript version are you using? what does your tsconfig.json look like?