Typescript Add To Array If Not Null C