From ae17bd101ca2bc40df79c1ff79c83bf379e9c53e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Fri, 7 May 2021 10:08:30 +0200 Subject: [PATCH] refactoring --- packages/core/src/Extension.ts | 4 ++-- packages/core/src/Mark.ts | 4 ++-- packages/core/src/Node.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/core/src/Extension.ts b/packages/core/src/Extension.ts index 1d89d5d11..eca188bcc 100644 --- a/packages/core/src/Extension.ts +++ b/packages/core/src/Extension.ts @@ -5,7 +5,7 @@ import { Node } from './Node' import { Mark } from './Mark' import mergeDeep from './utilities/mergeDeep' import { - AnyExtension, + Extensions, GlobalAttributes, RawCommands, ParentConfig, @@ -101,7 +101,7 @@ declare module '@tiptap/core' { options: Options, editor: Editor, parent: ParentConfig>['addExtensions'], - }) => AnyExtension[], + }) => Extensions, /** * Extend Node Schema diff --git a/packages/core/src/Mark.ts b/packages/core/src/Mark.ts index 4714ab1fc..b5dfc3d45 100644 --- a/packages/core/src/Mark.ts +++ b/packages/core/src/Mark.ts @@ -8,7 +8,7 @@ import { Plugin, Transaction } from 'prosemirror-state' import { InputRule } from 'prosemirror-inputrules' import mergeDeep from './utilities/mergeDeep' import { - AnyExtension, + Extensions, Attributes, RawCommands, GlobalAttributes, @@ -112,7 +112,7 @@ declare module '@tiptap/core' { options: Options, editor: Editor, parent: ParentConfig>['addExtensions'], - }) => AnyExtension[], + }) => Extensions, /** * Extend Node Schema diff --git a/packages/core/src/Node.ts b/packages/core/src/Node.ts index 23c28db3b..36f9783af 100644 --- a/packages/core/src/Node.ts +++ b/packages/core/src/Node.ts @@ -8,7 +8,7 @@ import { Plugin, Transaction } from 'prosemirror-state' import { InputRule } from 'prosemirror-inputrules' import mergeDeep from './utilities/mergeDeep' import { - AnyExtension, + Extensions, Attributes, NodeViewRenderer, GlobalAttributes, @@ -112,7 +112,7 @@ declare module '@tiptap/core' { options: Options, editor: Editor, parent: ParentConfig>['addExtensions'], - }) => AnyExtension[], + }) => Extensions, /** * Extend Node Schema