//// [destructuringTypeAssertionsES5_4.ts] var { x } = foo(); //// [destructuringTypeAssertionsES5_4.js] var x = foo().x;