fix types

This commit is contained in:
Philipp Kühn
2020-04-13 23:35:11 +02:00
parent b47f3f499b
commit e4a329670a

View File

@@ -30,10 +30,10 @@ export interface CommandSpec {
type EditorContent = string | JSON | null type EditorContent = string | JSON | null
interface Options { interface Options {
element: HTMLElement, element?: HTMLElement,
content: EditorContent content?: EditorContent
extensions: (Extension | Node | Mark)[] extensions?: (Extension | Node | Mark)[]
injectCSS: Boolean injectCSS?: Boolean
} }
@magicMethods @magicMethods