fix types
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user