Thanks for your answer, I haven't seen the new documentation before.
. Someone made a great job with this type definitions and according to the old documentation the addEventListener has it's 3rd parameter as Number, which causes error when using this
at compile time.
The new documentation should fill the missing Types (addEventListener method is one without it), so the Typescript definition files can be corrected. This is also part of another conversation
on this forum.
for AngularJS). Unfortunately I don't have the knowledge for this yet.