Files
tsgo/testdata/baselines/reference/submodule/compiler/destructuringWithNewExpression.symbols

15 lines
419 B
Plaintext

//// [tests/cases/compiler/destructuringWithNewExpression.ts] ////
=== destructuringWithNewExpression.ts ===
class C {
>C : Symbol(C, Decl(destructuringWithNewExpression.ts, 0, 0))
x = 0;
>x : Symbol(C.x, Decl(destructuringWithNewExpression.ts, 0, 9))
}
var { x } = new C;
>x : Symbol(x, Decl(destructuringWithNewExpression.ts, 4, 5))
>C : Symbol(C, Decl(destructuringWithNewExpression.ts, 0, 0))