Conflicts: tests/baselines/reference/iterableArrayPattern14.types tests/baselines/reference/iterableArrayPattern15.types tests/baselines/reference/iterableArrayPattern20.types tests/baselines/reference/iterableArrayPattern27.types
14 lines
190 B
Text
14 lines
190 B
Text
=== tests/cases/compiler/destructuringWithNewExpression.ts ===
|
|
class C {
|
|
>C : C
|
|
|
|
x = 0;
|
|
>x : number
|
|
>0 : number
|
|
}
|
|
|
|
var { x } = new C;
|
|
>x : number
|
|
>new C : C
|
|
>C : typeof C
|
|
|