Skip to content

strictOptionalProperties has been renamed to exactOptionalPropertyTypes #5001

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tamuratak opened this issue Dec 5, 2021 · 1 comment
Closed
Labels
doc-bug out of date, inaccurate, confusing content extensibility extension author content under /api

Comments

@tamuratak
Copy link

strictOptionalProperties has been renamed to exactOptionalPropertyTypes

### Updating vscode.d.ts for strictOptionalProperties
We've updated the typings in `vscode.d.ts` to better support TypeScript's [`strictOptionalProperties` strictness option](https://github.com/microsoft/TypeScript/pull/43947). This work included:
* Clarifying which optional properties can be assigned `undefined`.
* Being more consistent in how we use `?` versus `| undefined`.
If you are using `strictOptionalProperties` with your extension, please let us know if you run into any issues with the `vscode.d.ts` typings.

cc: @mjbvz

@gregvanl gregvanl added doc-bug out of date, inaccurate, confusing content extensibility extension author content under /api labels Dec 5, 2021
@gregvanl
Copy link

gregvanl commented Dec 6, 2021

@tamuratak Thanks for pointing this out! Fixed with 5c8a731

@gregvanl gregvanl closed this as completed Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-bug out of date, inaccurate, confusing content extensibility extension author content under /api
Projects
None yet
Development

No branches or pull requests

2 participants