You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sveltekit version - "^2.16.0"
svelte version - "^5.0.0"
mdsvex version - "^0.12.3"
When using the newest version, the typescript complains about declaration files:
import{mdsvex}from'mdsvex'// error here
And the error message is
Could not find a declaration file for module 'mdsvex'. '/home/saran/kernel-panic/node_modules/.pnpm/[email protected][email protected]/node_modules/mdsvex/dist/main.mjs' implicitly has an 'any' type.
There are types at '/home/saran/kernel-panic/node_modules/mdsvex/dist/main.cjs.d.ts', but this result could not be resolved when respecting package.json "exports". The 'mdsvex' library may need to update its package.json or typings.ts(7016)
This looks similar to issue #648 , But when I checked the exports in package.json of mdsvex it is different compared to the fix given in PR #651. Looks like type are missing
sveltekit version -
"^2.16.0"
svelte version -
"^5.0.0"
mdsvex version -
"^0.12.3"
When using the newest version, the typescript complains about declaration files:
And the error message is
This looks similar to issue #648 , But when I checked the exports in
package.json
of mdsvex it is different compared to the fix given in PR #651. Looks like type are missingAlso my tsconfig for reference
The text was updated successfully, but these errors were encountered: