nuxt-multi-cache icon indicating copy to clipboard operation
nuxt-multi-cache copied to clipboard

Broken Typescript exports

Open hoersamu opened this issue 10 months ago • 1 comments

When trying to import types from either the package directly or from /dist/runtime/serverOptions i get the following typeerror:

Could not find a declaration file for module 'nuxt-multi-cache'. 'xxx/node_modules/nuxt-multi-cache/dist/module.mjs' implicitly has an 'any' type.
  There are types at '/xxx/node_modules/nuxt-multi-cache/dist/types.d.ts', but this result could not be resolved when respecting package.json "exports". The 'nuxt-multi-cache' library may need to update its package.json or typings.ts(7016)

I will try to provide a minimal reproduction later today

hoersamu avatar Apr 09 '24 13:04 hoersamu

when can this be released?

the latest version 3.1.1, does not have this fix.

haidertm avatar May 16 '24 14:05 haidertm