diff --git a/packages/kit/src/module/compatibility.ts b/packages/kit/src/module/compatibility.ts index f161f739fc..93c6d97a05 100644 --- a/packages/kit/src/module/compatibility.ts +++ b/packages/kit/src/module/compatibility.ts @@ -40,7 +40,7 @@ export async function getNuxtModuleVersion (module: string | NuxtModule, nuxt: N if (!moduleMeta.name) { return false } // maybe the version got attached within the installed module instance? const version = nuxt.options._installedModules - // @ts-expect-error _installedModules is not typed + // @ts-expect-error _installedModules is not typed .filter(m => m.meta.name === moduleMeta.name).map(m => m.meta.version)?.[0] if (version) { return version