TypeScript/tests/baselines/reference/destructuringTypeAssertionsES5_7.js
2015-06-03 17:22:51 -07:00

6 lines
144 B
TypeScript

//// [destructuringTypeAssertionsES5_7.ts]
var { x } = <any><any>new Foo;
//// [destructuringTypeAssertionsES5_7.js]
var x = (new Foo).x;