Skip to content

Quick info for object property binding elements in a for-of gives incorrect type #3718

@DanielRosenwasser

Description

@DanielRosenwasser

Confirmed with @rbuckton

var y = [ { x: 100 } ];

for ({/**/x: abc} of y) {
}

Expected: (property) x: number
Actual: Something like (property) x: { x: number }

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: Quick Infoe.g. hover text, tool-tips, and tooltips.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions