Typescript String Split Destructuring