[–] genezeta 4y ago ↗ I get... This version of TypeScript (4.7.4#code/C4TwDgpgB[...]t7yAA) has not been prepared for the Playground It seems to be a problem with the encoding of # and / in the URL. Possibly other characters.Still, when fixing that, I get an Error: Type instantiation is excessively deep and possibly infinite. On this line: type FizzBuzz = From0To99<[0, 0], []>; So you may want to check that, if you think it's actually worth it. [–] rendall 4y ago ↗ Can confirm. [–] johnnypangs 4y ago ↗ Here is what it was supposed to be: https://www.typescriptlang.org/play?ts=4.7.4#code/C4TwDgpgBA... [–] genezeta 4y ago ↗ The error about excessive/infinite type instantiation depth is still there.I mean, yes, it does "work" and FizzBuzz gets defined as expected. But... the error... [–] johnnypangs 4y ago ↗ Try this one https://www.typescriptlang.org/play?ts=4.7.4#code/C4TwDgpgBA... [–] genezeta 4y ago ↗ Yes. It's fixed in this one. [–] rendall 4y ago ↗ All the distraction aside, that's pretty neat. [–] johnnypangs 4y ago ↗ Also, I didn't mention it but the FizzBuzz happens on hover of FizzBuzz. I realize that's not great behavior though [–] johnnypangs 4y ago ↗ And here is a new link with the error fixed: https://www.typescriptlang.org/play?ts=4.7.4#code/C4TwDgpgBA... [–] genezeta 4y ago ↗ The error is still there, I'm afraid.
[–] johnnypangs 4y ago ↗ Here is what it was supposed to be: https://www.typescriptlang.org/play?ts=4.7.4#code/C4TwDgpgBA... [–] genezeta 4y ago ↗ The error about excessive/infinite type instantiation depth is still there.I mean, yes, it does "work" and FizzBuzz gets defined as expected. But... the error... [–] johnnypangs 4y ago ↗ Try this one https://www.typescriptlang.org/play?ts=4.7.4#code/C4TwDgpgBA... [–] genezeta 4y ago ↗ Yes. It's fixed in this one. [–] rendall 4y ago ↗ All the distraction aside, that's pretty neat.
[–] genezeta 4y ago ↗ The error about excessive/infinite type instantiation depth is still there.I mean, yes, it does "work" and FizzBuzz gets defined as expected. But... the error... [–] johnnypangs 4y ago ↗ Try this one https://www.typescriptlang.org/play?ts=4.7.4#code/C4TwDgpgBA... [–] genezeta 4y ago ↗ Yes. It's fixed in this one. [–] rendall 4y ago ↗ All the distraction aside, that's pretty neat.
[–] johnnypangs 4y ago ↗ Try this one https://www.typescriptlang.org/play?ts=4.7.4#code/C4TwDgpgBA... [–] genezeta 4y ago ↗ Yes. It's fixed in this one. [–] rendall 4y ago ↗ All the distraction aside, that's pretty neat.
[–] johnnypangs 4y ago ↗ Also, I didn't mention it but the FizzBuzz happens on hover of FizzBuzz. I realize that's not great behavior though
[–] johnnypangs 4y ago ↗ And here is a new link with the error fixed: https://www.typescriptlang.org/play?ts=4.7.4#code/C4TwDgpgBA... [–] genezeta 4y ago ↗ The error is still there, I'm afraid.
11 comments
[ 2.7 ms ] story [ 10.1 ms ] threadStill, when fixing that, I get an Error:
On this line: So you may want to check that, if you think it's actually worth it.I mean, yes, it does "work" and FizzBuzz gets defined as expected. But... the error...