yassinedoghri / astro-i18next

An astro integration of i18next + some utility components to help you translate your astro websites!
https://astro-i18next.yassinedoghri.com
MIT License
473 stars 33 forks source link

TypeScript error "Could not find a declaration file for module" #174

Open Miskamyasa opened 10 months ago

Miskamyasa commented 10 months ago

Could not find a declaration file for module 'astro-i18next'. './node_modules/.pnpm/astro-i18next@1.0.0-beta.21_astro@3.0.5/node_modules/astro-i18next/dist/index.js' implicitly has an 'any' type. There are types at './node_modules/astro-i18next/dist/types/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'astro-i18next' library may need to update its package.json or typings.ts(7016)

Miskamyasa commented 10 months ago

https://github.com/gxmari007/vite-plugin-eslint/pull/60

bowencool commented 3 months ago

Using the pnpm patch command for a temporary fix.

https://github.com/bowencool/blog/commit/5298ae714c9f304a75b8124c7afc5458e0032532