use get_current_component from svelte/internal

This commit is contained in:
Jan Prochazka
2021-02-28 08:36:02 +01:00
parent 8a4fd302d2
commit 1c0a8cad56
3 changed files with 3 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ export interface GlobalCommand {
id: string;
category: string;
name: string;
text: string /* category: name */;
text?: string /* category: name */;
keyText?: string;
getSubCommands?: () => SubCommand[];
onClick?: Function;