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

@@ -102,9 +102,7 @@ declare module '@tiptap/core' {
parent: ParentConfig<ExtensionConfig<Options>>['extendNodeSchema'],
},
extension: Node,
) => {
[key: string]: any,
}) | null,
) => Record<string, any>) | null,
/**
* Extend Mark Schema
@@ -116,9 +114,7 @@ declare module '@tiptap/core' {
parent: ParentConfig<ExtensionConfig<Options>>['extendMarkSchema'],
},
extension: Mark,
) => {
[key: string]: any,
}) | null,
) => Record<string, any>) | null,
/**
* The editor is not ready yet.