ES6+ allows this simple/clean approach
[{"id":1}, {"id":-2}
Playing with the tsconfig.json You can also targeting es5 like this :
{ "compilerOptions": { "experimentalDecorators": true, "module": "commonjs", "target": "es5" } ...