Skip to content
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

The operand of a 'delete' operator must be optional. #267

Closed
Unesdala opened this issue Sep 6, 2020 · 0 comments
Closed

The operand of a 'delete' operator must be optional. #267

Unesdala opened this issue Sep 6, 2020 · 0 comments
Assignees

Comments

@Unesdala
Copy link
Contributor

Unesdala commented Sep 6, 2020

TS 4.0 causes authUtils and PhotoTables tests to break due to the delete function.

With TS 4.0, when in strictNullChecks mode, the operand of the delete operator MUST be any , unknown , never or be optional (i.e., containing undefined ); otherwise, the code doesn’t compile.

microsoft/TypeScript#37921

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants