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