mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
667 B
Plaintext
18 lines
667 B
Plaintext
//// [tests/cases/conformance/es6/destructuring/destructuringObjectBindingPatternAndAssignment5.ts] ////
|
|
|
|
=== destructuringObjectBindingPatternAndAssignment5.ts ===
|
|
function a () {
|
|
>a : Symbol(a, Decl(destructuringObjectBindingPatternAndAssignment5.ts, 0, 0))
|
|
|
|
let x: number;
|
|
>x : Symbol(x, Decl(destructuringObjectBindingPatternAndAssignment5.ts, 1, 7))
|
|
|
|
let y: any
|
|
>y : Symbol(y, Decl(destructuringObjectBindingPatternAndAssignment5.ts, 2, 7))
|
|
|
|
({ x, ...y } = ({ } as any));
|
|
>x : Symbol(x, Decl(destructuringObjectBindingPatternAndAssignment5.ts, 3, 6))
|
|
>y : Symbol(y, Decl(destructuringObjectBindingPatternAndAssignment5.ts, 2, 7))
|
|
}
|
|
|