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