Typescript
Next.jsをTypescriptで書き始めるときに毎回探してるのでメモ程度に 公式はこちら nextjs.org tsconfigをつくる touch tsconfig.json 中身はこんな感じに。 { "compilerOptions": { "target": "es5", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": …
Next.jsをTypescriptで書き始めるときに毎回探してるのでメモ程度に 公式はこちら nextjs.org tsconfigをつくる touch tsconfig.json 中身はこんな感じに。 { "compilerOptions": { "target": "es5", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": …