News for hackers. Stuff that matters.
Re:TypeScript 3.7 by seanwilson on Tuesday November 05, 2019 @05:52PM (#21457653)
Thanks, you can still trick it with this though (there's no type error):

    const x = [1, 2] as const;
    const r = 666 + 1;
    const y = x[r];
    const z = y + 3;
Re:TypeScript 3.7 by nine_k on Tuesday November 05, 2019 @06:37PM (#21458095)
Let's wait until TS supports dependent types!