False-positive "Property does not exist" error in an Object.prototype.hasOwnProperty
check block
#56549
Labels
Duplicate
An existing issue was already created
π Search Terms
Object Property, hasOwnProperty, if, check, block, scope, error, false-positive
π Version & Regression Information
β― Playground Link
https://www.typescriptlang.org/play?#code/MYewdgzgLgBCBGArApsWBeGBvAUDfMADgE4iHLFQCeAjAFwwBEyAHgJbRtgDmjOAvjhxsAZjAAUeAgHoAVLKkFZMAErIoAV2JgGAMQCGAGwjJF+WdLMIUaAHQALfRADyAdzAAFUuUpVxAchIyCmoAJn8AShwI7DM5BQJzGABRFnI0ZAATBgA5EBTiUmJbMxhlNU1tBkZkwpBiBi9g3xhA7xCqcJhMkGQIGDAQWFYOWHAYanJWrCJ233oYaGIubgBuGH5-WxgAETZMmCoQDRgAW2R9MFagn2oafwB+cVCAVheaCL5EsstE0EgQIZkLZDCBuOJrKgoLYbh1QhFVgIcEA
π» Code
π Actual behavior
π Expected behavior
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: