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
It includes the following parameter which was added automatically:
exactOptionalPropertyTypes=true
However when visiting the link the option reverts back to being unset, which can be evidenced by the lack of an error in the line of code delete person.age.
Not sure if this was because the property was recently renamed or if it had never worked under its original name.
Uh oh!
There was an error while loading. Please reload this page.
Bug Report
π Search Terms
exactOptionalPropertyTypes
typescript playground
π Version & Regression Information
Since TS4.4 beta including nightly.
β― Playground Link
The following playground link was generated by the share button.
https://www.typescriptlang.org/play?ts=4.4.0-beta&exactOptionalPropertyTypes=true#code/JYOwLgpgTgZghgYwgAgArQM4HsTIN4BQyxyIcAthAFzIZhSgDmANESXIxAPw0gCu5AEbQA3AQC+BAghx1kAB0w4a6KNlwBefG2JlKNAEQAROCGAQANgdYlkHasgBMAdgliCAE0sRICpSAA6exFiAHpQ5AAVAAsULEUoUw9kLBg7ZAByLwsfCAyUhLgwLChkcj45YQKwYBw4CwCpAiA
It includes the following parameter which was added automatically:
However when visiting the link the option reverts back to being unset, which can be evidenced by the lack of an error in the line of code
delete person.age
.Not sure if this was because the property was recently renamed or if it had never worked under its original name.
Please assign to @orta as per @sandersn - #43947 (comment)
The text was updated successfully, but these errors were encountered: