I have gone across the JavaScript questions on this topic, this question is specifically about Angular2 with TypeScript.
What I am trying to do is to concatenate the
With angular 6 spread operator and concat not work. You can resolve it easy:
result.push(...data);