refactor: remove AnyObject type

This commit is contained in:
Philipp Kühn
2021-04-21 09:43:31 +02:00
parent d720d77e8d
commit 1c8ca95de2
64 changed files with 108 additions and 196 deletions

View File

@@ -5,11 +5,11 @@ import {
Fragment,
} from 'prosemirror-model'
import elementFromString from '../utilities/elementFromString'
import { AnyObject, Content } from '../types'
import { Content } from '../types'
export type CreateNodeFromContentOptions = {
slice?: boolean,
parseOptions?: AnyObject,
parseOptions?: Record<string, any>,
}
export default function createNodeFromContent(