TypeScript/tests/cases/compiler/contextualTyping6.ts
2014-07-12 17:30:19 -07:00

1 line
42 B
TypeScript

var foo:{id:number;}[] = [{id:1}, {id:2}];