TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

FizzBuzz in TypeScript

3 pointsby johnnypangsalmost 3 years ago

1 comment

genezetaalmost 3 years ago
I get...<p><pre><code> This version of TypeScript (4.7.4#code&#x2F;C4TwDgpgB[...]t7yAA) has not been prepared for the Playground </code></pre> It seems to be a problem with the encoding of # and &#x2F; in the URL. Possibly other characters.<p>Still, when fixing that, I get an Error:<p><pre><code> Type instantiation is excessively deep and possibly infinite. </code></pre> On this line:<p><pre><code> type FizzBuzz = From0To99&lt;[0, 0], []&gt;; </code></pre> So you may want to check that, if you think it&#x27;s actually worth it.
评论 #31906693 未加载
评论 #31906676 未加载
评论 #31906688 未加载
评论 #31906530 未加载