Separate type import for WithShortcut
This commit is contained in:
parent
5197e3b779
commit
22a07a3a58
@ -5,9 +5,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||||||
<script lang="typescript">
|
<script lang="typescript">
|
||||||
import type { DynamicSvelteComponent } from "sveltelib/dynamicComponent";
|
import type { DynamicSvelteComponent } from "sveltelib/dynamicComponent";
|
||||||
import type { ToolbarItem } from "./types";
|
import type { ToolbarItem } from "./types";
|
||||||
|
import type { Modifier } from "anki/shortcuts";
|
||||||
|
|
||||||
import { onDestroy } from "svelte";
|
import { onDestroy } from "svelte";
|
||||||
import { Modifier, registerShortcut, getPlatformString } from "anki/shortcuts";
|
import { registerShortcut, getPlatformString } from "anki/shortcuts";
|
||||||
|
|
||||||
export let button: ToolbarItem;
|
export let button: ToolbarItem;
|
||||||
export let shortcut: string;
|
export let shortcut: string;
|
||||||
|
Loading…
Reference in New Issue
Block a user