Issue a better error for exactOptionalPropertyTypes #44403
Labels
Domain: Error Messages
The issue relates to error messaging
Experience Enhancement
Noncontroversial enhancements
Fix Available
A PR has been opened for this issue
Milestone
A project under
--strict
will likely break in TypeScript 4.4, and it won't be obvious why.What I would propose is that we give some better error message in these cases such as
This could then be given a quick fix.
We could give this error when
undefined
nessundefined
from the target.The text was updated successfully, but these errors were encountered: