Rename Symbol
on variable sourcing a return destructured object leads to compiler error
#19173
Labels
Milestone
From @greyepoxy on October 13, 2017 22:33
Steps to Reproduce:
a
at its declaration inconst a
b
Expected:
Actual:
severity: 'Error'
message: 'Type '{ b: number; }' is not assignable to type 'Result'.
Object literal may only specify known properties, and 'b' does not exist in type 'Result'.'
Reproduces without extensions: Yes
Copied from original issue: microsoft/vscode#36252
The text was updated successfully, but these errors were encountered: