develwoutacause’s avatardevelwoutacause’s Twitter Archive—№ 1,383

    1. …in reply to @wesbos
      @wesbos Thanks for noticing! That lib works but breaks down in more complex cases just due to #TypeScript recursion limits. I think they support tail recursion now (as of TS4.5), so maybe someone smarter than me could optimize this to be more viable? @develwoutacause/1308542105002733568?s=20&t=9AgEtUjaT6J5jfqUPcV-Xg
  1. …in reply to @develwoutacause
    @wesbos Actually trying the same example on TS4.7 and I'm not able to hit a recursion limit no matter how complicated I make the example (far past any reasonable point). So maybe there's already enough tail recursion to make this viable? tinyurl.com/wn8w5rvt @typescript, ship it!