Open MichaelMitchell-at opened 3 months ago
This was fixed in a more recent version of TypeScript, specifically in this PR: https://github.com/microsoft/TypeScript/pull/58771
If you switch the version used in the playground to nightly, the error no longer exists.
This was fixed in a more recent version of TypeScript, specifically in this PR: microsoft/TypeScript#58771
If you switch the version used in the playground to nightly, the error no longer exists.
Thank you for your mentioning this. We will support this soon
It may be released in TypeScript 5.6, So it's not a high priority at the moment for us. If anyone is interested, feel free to send a PR!
Tested version: 0.16.3
Expected:
Actual:
TS behavior for reference