mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Separate type import for WithShortcut
This commit is contained in:
parent
5197e3b779
commit
22a07a3a58
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue