Thanks for your answer, I haven't seen the new documentation before.
The reason why I was asking this question is because I use the Javascript API with Angular2 and with Smartfox Typescript type definitions from Definitelly Typed found in their
repository. 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.
I think it would be very helpful to have a client native in AngularJS 1 (with Promises) and Angular2 (with Observables; has a method to make them from callables) instead of Javascript API's with callbacks, or at least a wrapper around the Javascript API (like
here for AngularJS). Unfortunately I don't have the knowledge for this yet.