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
There is no error. The actual code has basically typeof anotherVar for the type, and anotherVar's type has a considerable number of keys so it's not just a matter of removing a question mark.
The text was updated successfully, but these errors were encountered:
kazarmy
changed the title
Optional key with initializer still declared undefined
Optional key with initializer still declared as possibly undefined
Aug 18, 2022
Bug Report
π Search Terms
"Object is possibly" undefined object key
(Sorry couldn't check all relevant issues)
π Version & Regression Information
4.7.3
β― Playground Link
Playground link (Nightly version) with relevant code
π» Code
π Actual behavior
anObject.abc
clearly is not undefined.π Expected behavior
There is no error. The actual code has basically
typeof anotherVar
for the type, andanotherVar
's type has a considerable number of keys so it's not just a matter of removing a question mark.The text was updated successfully, but these errors were encountered: