icon

ここら辺を読んでるんだけど、"noImplicitAny"をtrueにすることでエラーが抑制されるの直感的じゃねぇな

No widening in strict null checking mode by ahejlsberg · Pull Request #8944 · microsoft/TypeScript github.com/microsoft/TypeScrip

Web site image
No widening in strict null checking mode by ahejlsberg · Pull Request #8944 · microsoft/TypeScript
icon

"strict": trueにするとnoImplicitAnyもtrueになるからとりあえず安心だと思ったら、
VSCodeに搭載されているデフォルトのjsconfigではnoImplicitAny: falseだからエラーが出てよくわからんことになる

icon

やっと直接言及しているIssue見つけた
Empty array's type changes from never to any when turning on noImplicitAny · Issue #36987 · microsoft/TypeScript github.com/microsoft/TypeScrip

Web site image
Empty array''s type changes from never to any when turning on noImplicitAny · Issue #36987 · microsoft/TypeScript
icon

めちゃくちゃおもろそうだけど、導入ハードル高ぇな

icon

Your Spotfy、ローカルには普通に建ったけど、
そもそも一回で24時間分のデータしか取れないから実質常時起動しとかなきゃいかんし
サーバーに移さんとなぁ