mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 11:41:44 +00:00
Tweak ShortcutsArray definition for simplemde (#17944)
This commit is contained in:
Vendored
+1
-1
@@ -35,7 +35,7 @@ declare namespace SimpleMDE {
|
||||
}
|
||||
|
||||
interface ShortcutsArray {
|
||||
[action: string]: string;
|
||||
[action: string]: string|undefined;
|
||||
toggleBlockquote?: string;
|
||||
toggleBold?: string;
|
||||
cleanBlock?: string;
|
||||
|
||||
@@ -57,7 +57,8 @@ function testSimplemde() {
|
||||
codeSyntaxHighlighting: true
|
||||
},
|
||||
shortcuts: {
|
||||
drawTable: "Cmd-Alt-T"
|
||||
drawTable: "Cmd-Alt-T",
|
||||
toggleCodeBlock: null
|
||||
},
|
||||
showIcons: ["code", "table"],
|
||||
spellChecker: false,
|
||||
|
||||
Reference in New Issue
Block a user