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