Typescript Concat Array With Condition