//// [contextualTyping8.ts] var foo:{id:number;}[] = [<{id:number;}>({})]; //// [contextualTyping8.js] var foo = [({})];