Destructuring an array in TS doesn't account for the fact that the array may be empty. This ends up being a runtime error. Is there a workaround for this massive foot-gun? typescriptlang.org/play?#code/C4T… @mattpocockuk aka: Typescript Jesus - what's your take? #TypeScript #TS #Javasript
2
2
17
0
6
@script_walker @mattpocockuk Typescript Jesus? That escalated quickly 😁