fix some types

This commit is contained in:
Philipp Kühn
2020-08-21 21:01:41 +02:00
parent b24d7fac30
commit 9e1bb182db
4 changed files with 12 additions and 8 deletions

View File

@@ -51,10 +51,10 @@ type EditorContent = string | JSON | null
interface EditorOptions {
element: Element,
content: EditorContent
extensions: (Extension | Node | Mark)[]
content: EditorContent,
extensions: (Extension | Node | Mark)[],
injectCSS: Boolean,
autoFocus: 'start' | 'end' | number | boolean | null
autoFocus: 'start' | 'end' | number | boolean | null,
}
@magicMethods