From 050c006ca7eafb2f370172f3992f0ddaec2b27ec Mon Sep 17 00:00:00 2001 From: manchenkoff Date: Fri, 26 Jul 2024 01:48:35 +0200 Subject: [PATCH] fix: use resolved path for augmented types when using pnpm --- src/templates.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates.ts b/src/templates.ts index db02190..e1a6a4d 100644 --- a/src/templates.ts +++ b/src/templates.ts @@ -25,7 +25,7 @@ declare module '@nuxt/schema' { } } -declare module '../../node_modules/nuxt/dist/pages/runtime/composables' { +declare module '${resolver.resolve('../node_modules/nuxt/dist/pages/runtime/composables')}' { interface PageMeta { /** * Sanctum global middleware page configuration.