Open xenoterracide opened 3 years ago
What TypeScript version are you using? Did you try the latest one?
// @crhistianramirez
looks like not quite the latest
> yarn info typescript # services -> feature/RS2-1286 $ — ! ? RC=141
└─ typescript@patch:typescript@npm%3A4.0.2#builtin<compat/typescript>::version=4.0.2&hash=5bf698
├─ Version: 4.0.2
│
└─ Exported Binaries
├─ tsc
└─ tsserver
@xenoterracide Hello! Please make an effort to create a minimal reproducible example in the future.
I did it for you: TS Playground
By the way, interestingly, the compiler error message changes (for worse, IMO) from TS 3.9 to TS 4.0. You can quickly see this by changing the version in the playground.
@xenoterracide Hello! Please make an effort to create a minimal reproducible example in the future.
sorry about that, I'd hoped my pasted code would be enough.
Upvote & Fund