Typescript Turn String Into Integer