[5.3] Type error in typescript.d.ts with exactOptionalPropertyTypes = true #56478
Labels
Needs Investigation
This issue needs a team member to investigate its status.
Milestone
π Search Terms
"exactOptionalPropertyTypes", "JsDocParsingMode".
π Version & Regression Information
β― Playground Link
No response
π» Code
π Actual behavior
Error:
π Expected behavior
No error.
Additional information about the issue
Minimal repository with bug reproduction: https://github.com/uid11/jsDocParsingMode-error-example.
As far as I can see, to fix this error, it is enough to replace the line
TypeScript/src/services/types.ts
Line 435 in c266e47
with
Although, perhaps, such errors with
exactOptionalPropertyTypes
are corrected differently.The text was updated successfully, but these errors were encountered: