宮水の日記

宮水の日記

主に書評や資格取得について記事を書いています。

TypeScriptとReact

自動生成されたファイルのESLintのエラーでハマったのでメモ

TypeScriptとReactの環境構築中 eslintの設定をしていたら、自動生成されたファイルのlintエラーにめっちゃハマった。 5:1 warning Missing return type on function @typescript-eslint/explicit-module-boundary-types App.tsx import React from 'react';…