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

@@ -1,5 +1,4 @@
import Vue from 'vue'
import { AnyObject } from '@tiptap/core'
import { VueConstructor } from 'vue/types/umd'
export class VueRenderer {
@@ -15,7 +14,7 @@ export class VueRenderer {
return this.ref.$el
}
updateProps(props: AnyObject = {}): void {
updateProps(props: Record<string, any> = {}): void {
if (!this.ref.$props) {
return
}