5 lines
135 B
TypeScript
5 lines
135 B
TypeScript
//// [destructuringTypeAssertionsES5_2.ts]
|
|
var { x } = (<any>foo());
|
|
|
|
//// [destructuringTypeAssertionsES5_2.js]
|
|
var x = foo().x;
|