I tried the type definition provided. It's getting this error:
Error in :0:0 caused by: Cannot read property 'classList' of null .
I tried the simplest constructor in my Angular2 app as following.
this.mly = new Viewer(
I was also periodically checking the mapillary-js project, but it seems there is no update on the type definition for Angular2. Could you shed in some lights?