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.
-
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.ts
doesn'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