1 line
70 B
TypeScript
1 line
70 B
TypeScript
|
var foo:{id:number;}[] = [{id:1}]; foo = [{id:1}, {id:2, name:"foo"}];
|