You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Classes are not hoisted (just like let and const), as per the ES2015 spec and so your code does not work in modern browsers. In Chrome it produces Uncaught ReferenceError: B is not defined.
Currently TypeScript does not warn you of this, but this is covered by #5207 and planned for TypeScript 2.1.
Uh oh!
There was an error while loading. Please reload this page.
script.ts
Produces broken js that throws subject exception
We need to produce js like this
The text was updated successfully, but these errors were encountered: