Closed cloudlena closed 6 days ago
@cloudlena
Thanks!! The PR below should address this issue but haven't had time to work on it.
Awesome! Thank you, @K-Sato1995.
@K-Sato1995, with the new version, the above warning seems to be fixed. However, now I get another error when running npm run check
in a SvelteKit project with TypeScript:
Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.
/home/lena/Projects/bespinian/bespinian.io/src/routes/Services.svelte:20:9
Error: Cannot find module 'svelte-vertical-timeline' or its corresponding type declarations. (ts)
TimelineContent
} from 'svelte-vertical-timeline';
@cloudlena
hey yeah my bad! I'll upgrade the deps and fix the export stuff with this pr https://github.com/K-Sato1995/svelte-vertical-timeline/pull/7
@cloudlena
The pkg should export types properly now with v1.0.2
🙏
Thanks for creating the issue🙏
https://github.com/K-Sato1995/svelte-vertical-timeline/pull/7
Works like a charm. Thanks, @K-Sato1995!
When running
npm run build
in a SvelteKit application, I get the following warning: