Replies: 3 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
This is a tsc transpilation bug tracked in microsoft/TypeScript#40499, #7605. |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Oddly, I seem to be getting a "not defined error" despite having the code correct. I would assume that this is likely a compile issue as I was able to replicate it almost instantly.
Running these examples yields these results:

From the logs, it seems like
test2.tsdoesn't run at all. The runtime seems to die here.(If needed, I can move this to the issue tracker, which I probably should've done at first.)
Beta Was this translation helpful? Give feedback.
All reactions