* Fix get symbol at location to behave correctly got parameter assignments and jsx attributes * Handle all those edge cases that weren;t explicitly handled * Fix part of bug WRT getTypeAtLocation and for loops * Baseline corrections pursuant to #20710 * Restore jsdoc tag interpretation * Clean up some code, revert fourslash tests * Cleanup types used by PR feedback
23 lines
388 B
Text
23 lines
388 B
Text
=== tests/cases/conformance/statements/for-ofStatements/ES5For-of31.ts ===
|
|
var a: string, b: number;
|
|
>a : string
|
|
>b : number
|
|
|
|
for ({ a: b = 1, b: a = ""} of []) {
|
|
>{ a: b = 1, b: a = ""} : { a?: number; b?: string; }
|
|
>a : number
|
|
>b = 1 : 1
|
|
>b : number
|
|
>1 : 1
|
|
>b : string
|
|
>a = "" : ""
|
|
>a : string
|
|
>"" : ""
|
|
>[] : undefined[]
|
|
|
|
a;
|
|
>a : string
|
|
|
|
b;
|
|
>b : number
|
|
}
|