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
So I know there was a fix to export the types in the package.json file, but that hasn't made its ways upstream yet, so in my picture I just manaully added that to my import of mdsvex in node_modules.
But importing *.svelte.mdx or *.svx files are not getting types in my app right now. Typescript is throwing red warnings that it cannot find the module or its corresponding type declarations.
I tried adding this snippet to my app.d.ts or an ambient.d.ts file under my /src folder and it doesn't do anything??
Mdsvex version: "0.12.3"
So I know there was a fix to export the types in the package.json file, but that hasn't made its ways upstream yet, so in my picture I just manaully added that to my import of mdsvex in node_modules.
But importing *.svelte.mdx or *.svx files are not getting types in my app right now. Typescript is throwing red warnings that it cannot find the module or its corresponding type declarations.
I tried adding this snippet to my app.d.ts or an ambient.d.ts file under my /src folder and it doesn't do anything??
sidenote:
#/
is just an alias path, I tried this also with a direct importThe text was updated successfully, but these errors were encountered: