Skip to content

Make our dts files compile when exactOptionalPropertyTypes is enabled downstream - #56489

Merged
Jake Bailey (jakebailey) merged 5 commits into
microsoft:mainfrom
jakebailey:fix-56478
Nov 21, 2023
Merged

Make our dts files compile when exactOptionalPropertyTypes is enabled downstream#56489
Jake Bailey (jakebailey) merged 5 commits into
microsoft:mainfrom
jakebailey:fix-56478

Conversation

@jakebailey

Copy link
Copy Markdown
Member

Fixes#56478

The JSDoc one is the only one that appears in our public API, but it wasn't too hard to make our internal API also pass too.

One day, maybe we should enable exactOptionalPropertyTypes ourselves.

@typescript-bot

Copy link
Copy Markdown
Contributor

Looks like you're introducing a change to the public API surface area. If this includes breaking changes, please document them on our wiki's API Breaking Changes page.

Also, please make sure Daniel Rosenwasser (@DanielRosenwasser) and Ryan Cavanaugh (@RyanCavanaugh) are aware of the changes, just as a heads up.

@jakebailey
Jake Bailey (jakebailey) merged commit 0aa2c48 into microsoft:mainNov 21, 2023
TypeScript Bot (typescript-bot) pushed a commit to typescript-bot/TypeScript that referenced this pull request Nov 21, 2023
@microsoftMicrosoft (microsoft) locked as resolved and limited conversation to collaborators Oct 16, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: TeamFor Uncommitted BugPR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[5.3] Type error in typescript.d.ts with exactOptionalPropertyTypes = true

3 participants

@jakebailey@typescript-bot@sheetalkamat