From b8453f060f86826a8bd082f9c503f5b7c40901a7 Mon Sep 17 00:00:00 2001 From: Johnson Chen Date: Wed, 31 Jan 2024 22:39:58 +0800 Subject: [PATCH] fix: Could not find a declaration file for module --- tsconfig.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index a746f2a..e51bc36 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,4 +1,7 @@ { - // https://nuxt.com/docs/guide/concepts/typescript - "extends": "./.nuxt/tsconfig.json" + // https://nuxt.com/docs/guide/concepts/typescript + "extends": "./.nuxt/tsconfig.json", + "compilerOptions": { + "moduleResolution": "node" + } }