fix: fixed type for Content

This commit is contained in:
Philipp Kühn
2021-04-09 08:22:13 +02:00
parent 3ef0c3bf8d
commit 39147f5b02
3 changed files with 3 additions and 7 deletions

View File

@@ -5,9 +5,7 @@ import {
Fragment,
} from 'prosemirror-model'
import elementFromString from '../utilities/elementFromString'
import { AnyObject } from '../types'
export type Content = string | JSON | null
import { AnyObject, Content } from '../types'
export type CreateNodeFromContentOptions = {
slice?: boolean,