-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hi, I realy like your Tab implementation.
However since I use typescript the editor always complains that there are no types. I always need to add following in my d.ts file:
declare module "svelte-tabs" {
import { SvelteComponentTyped } from "svelte"
export class Tab extends SvelteComponentTyped { }
export class Tabs extends SvelteComponentTyped<{ initialSelectedIndex?: number }> { }
export class TabList extends SvelteComponentTyped { }
export class TabPanel extends SvelteComponentTyped { }
}And since I need to look up how to type SvelteConmponents, it would be nice if you could include the Typings in your package.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels