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
This is problematic, especially the following line towards the end:
__extends(B_1,_super);
B, the "constructor" should be extended. Not B_1, the "class" (which has a different name here for some reason, maybe that's part of the problem) as B_1 is not yet defined here.
This causes the parsing to fail.
The text was updated successfully, but these errors were encountered:
For others with the same problem, I can confirm that - from the previous example - renaming every B to B_1 in the transpiled js file, as ugly and bothersome as it sounds, fixes the issue.
TypeScript Version: 2.6.1
Code
Expected behavior:
Should work as intended.
Actual behavior:
This translates into:
This is problematic, especially the following line towards the end:
B
, the "constructor" should be extended. NotB_1
, the "class" (which has a different name here for some reason, maybe that's part of the problem) asB_1
is not yet defined here.This causes the parsing to fail.
The text was updated successfully, but these errors were encountered: