TypeScript/tests/cases/compiler/destructuringWithNewExpression.ts

5 lines
46 B
TypeScript

class C {
x = 0;
}
var { x } = new C;