Typescript Convert Number Array Javascript Push Notifications