FizzBuzz in TypeScript
typescriptlang.org
typescriptlang.org
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.I mean, yes, it does "work" and FizzBuzz gets defined as expected. But... the error...