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
In solution (Visual Studio 2013) with a couple of separate ts files, when one class extends another one and files are combined together, it may happen that resulting file causes exception in __extends method. Second parameter has undefined value (derived class goes first, parent class is not yet defined).
I think that parent classes should be placed before derived ones.
The text was updated successfully, but these errors were encountered:
The compiler does not reorder emitted code. the files are emitted in order supplied on the commandline and through resolving /// references. you can either move the derived class definition to be after the base, or add a /// <reference> tag to the file with the derived class pointing to the file with the base class to ensure correct emit order.
In solution (Visual Studio 2013) with a couple of separate ts files, when one class extends another one and files are combined together, it may happen that resulting file causes exception in __extends method. Second parameter has undefined value (derived class goes first, parent class is not yet defined).
I think that parent classes should be placed before derived ones.
The text was updated successfully, but these errors were encountered: