You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support for exactOptionalPropertyTypes flag from TypeScript 4.4 #4730
changed the title [-]ref(all): Add support for exactOptionalPropertyTypes flag from TypeScript 4.4[/-][+]Add support for exactOptionalPropertyTypes flag from TypeScript 4.4[/+]on Mar 17, 2022
Looks like the support for the "exactOptionalPropertyTypes" is still not implemented, even though this issue is closed. Would you be able to tell if it is on the roadmap still?
Enabling the option is recommended in TS doc and according to #18024, it is now enabled by default when running tsc --init, so the number of people who will come asking will increase in the future. You can kind of work it around with things like
Activity
[-]ref(all): Add support for exactOptionalPropertyTypes flag from TypeScript 4.4[/-][+]Add support for exactOptionalPropertyTypes flag from TypeScript 4.4[/+]immerrr commentedon Nov 5, 2025
@kamilogorek @HazAT
Looks like the support for the "exactOptionalPropertyTypes" is still not implemented, even though this issue is closed. Would you be able to tell if it is on the roadmap still?
Enabling the option is recommended in TS doc and according to #18024, it is now enabled by default when running
tsc --init, so the number of people who will come asking will increase in the future. You can kind of work it around with things likebut it's not at all pretty.