Skip to content

Commit

Permalink
Export all types from lucide-svelte (#1779)
Browse files Browse the repository at this point in the history
* Export all types from lucide-svelte

* Export all types
  • Loading branch information
ericfennis committed Jan 7, 2024
1 parent bc5efd7 commit 4473df5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/lucide-svelte/src/lucide-svelte.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ export * from './icons/index.js';
export * as icons from './icons/index.js';
export * from './aliases.js';
export { default as defaultAttributes } from './defaultAttributes.js';
export type { Icon } from './types.js';
export * from './types.js';
4 changes: 2 additions & 2 deletions packages/lucide-svelte/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ export interface IconProps extends Attrs {
class?: string;
}

type IconEvents = {
export type IconEvents = {
[evt: string]: CustomEvent<any>;
};

type IconSlots = {
export type IconSlots = {
default: {};
};

Expand Down

0 comments on commit 4473df5

Please sign in to comment.