-function provide(editor: MarkdownEditor): Record<string, () => void> {
- const shortcuts: Record<string, () => void> = {};
+export function provideShortcutMap(editor: MarkdownEditor): MarkdownEditorShortcutMap {
+ const shortcuts: MarkdownEditorShortcutMap = {};