Skip to content

Add unionUndefined options for exactOptionalPropertyTypes #2135

Closed
@kahirokunn

Description

@kahirokunn

In environments where exactOptionalPropertyTypes introduced in typescript 4.4 is enabled, there will be many situations where you want to union undefined for parameters with a questionToken.

https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-4.html#exact-optional-property-types---exactoptionalpropertytypes

If PR are merged in oazapfts or forked, this can be implemented, what do you think?
oazapfts/oazapfts#219

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions