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
interface Options {
element: HTMLElement,
content: EditorContent
extensions: (Extension | Node | Mark)[]
injectCSS: Boolean
element?: HTMLElement,
content?: EditorContent
extensions?: (Extension | Node | Mark)[]
injectCSS?: Boolean
}
@magicMethods