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
I'm using this component in a TypeScript-based app. When running npx svelte-check, I get the following TypeScript compiler error:
src/App.svelte:26:35
Error: Cannot find module 'svelte-collapsible' or its corresponding type declarations. (ts)
import { CollapsibleCard } from "svelte-collapsible";
I believe this could be fixed by exporting types. My initial search regarding what changes would be required came up with sveltejs/component-template#29 and this linked typed template: https://github.com/mattjennings/svelte-typescript-component-template (which ensures it can be consumed by both typescript and plain javascript apps) - would you be willing to make the corresponding changes to your component package?
The text was updated successfully, but these errors were encountered:
I'm using this component in a TypeScript-based app. When running
npx svelte-check
, I get the following TypeScript compiler error:I believe this could be fixed by exporting types. My initial search regarding what changes would be required came up with sveltejs/component-template#29 and this linked typed template: https://github.com/mattjennings/svelte-typescript-component-template (which ensures it can be consumed by both typescript and plain javascript apps) - would you be willing to make the corresponding changes to your component package?
The text was updated successfully, but these errors were encountered: