Skip to content

Commit

Permalink
fix: editor svelte component type
Browse files Browse the repository at this point in the history
  • Loading branch information
rossrobino committed Jan 5, 2024
1 parent 839d7f3 commit 6f6387b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Binary file modified bun.lockb
Binary file not shown.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "drab",
"version": "4.1.6",
"version": "4.1.7",
"description": "An Unstyled Svelte Component Library",
"keywords": [
"components",
Expand Down Expand Up @@ -80,6 +80,6 @@
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"uico": "^0.2.1",
"vite": "^5.0.10"
"vite": "^5.0.11"
}
}
}
4 changes: 2 additions & 2 deletions src/lib/components/Editor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
-->

<script lang="ts">
import { onMount, type ComponentType } from "svelte";
import { onMount, type ComponentType, type SvelteComponent } from "svelte";
/**
* - `EditorContentElement` to pass into the `contentElements` array prop
Expand All @@ -86,7 +86,7 @@
display: "inline" | "block" | "wrap";
/** contents of the `button` */
icon: string | ComponentType<any>;
icon: string | ComponentType<SvelteComponent>;
/** keyboard shortcut */
key?: string;
Expand Down

1 comment on commit 6f6387b

@vercel
Copy link

@vercel vercel bot commented on 6f6387b Jan 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.