From 4ac19069ec0e97f34fa34947219357d6ffa85a1e Mon Sep 17 00:00:00 2001 From: Joel Keyser <keyser.joel@gmail.com> Date: Tue, 30 May 2023 08:41:37 -0500 Subject: [PATCH] chore(typeconfig): update per next 13 upgrade this was automatically changed once the next server was started for the first time. --- web/next-env.d.ts | 1 + web/tsconfig.json | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/web/next-env.d.ts b/web/next-env.d.ts index 4f11a03d..fd36f949 100644 --- a/web/next-env.d.ts +++ b/web/next-env.d.ts @@ -1,5 +1,6 @@ /// <reference types="next" /> /// <reference types="next/image-types/global" /> +/// <reference types="next/navigation-types/compat/navigation" /> // NOTE: This file should not be edited // see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/web/tsconfig.json b/web/tsconfig.json index 987ba856..1205d1f2 100644 --- a/web/tsconfig.json +++ b/web/tsconfig.json @@ -14,8 +14,13 @@ "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", - "incremental": true + "incremental": true, + "plugins": [ + { + "name": "next" + } + ] }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "exclude": ["node_modules"] }