5 lines
144 B
TypeScript
5 lines
144 B
TypeScript
//// [destructuringTypeAssertionsES5_7.ts]
|
|
var { x } = <any><any>new Foo;
|
|
|
|
//// [destructuringTypeAssertionsES5_7.js]
|
|
var x = (new Foo).x;
|