mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-06 06:19:58 +08:00
Tweak ShortcutsArray definition for simplemde (#17944)
This commit is contained in:
2
types/simplemde/index.d.ts
vendored
2
types/simplemde/index.d.ts
vendored
@@ -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