rename Commands to RawCommands

This commit is contained in:
Philipp Kühn
2021-02-16 18:36:37 +01:00
parent 381bc0ce49
commit a705134998
51 changed files with 108 additions and 110 deletions

View File

@@ -1,5 +1,5 @@
import { EditorState, TextSelection } from 'prosemirror-state'
import { Command, Commands, FocusPosition } from '../types'
import { Command, RawCommands, FocusPosition } from '../types'
import minMax from '../utilities/minMax'
import isTextSelection from '../helpers/isTextSelection'
@@ -41,7 +41,7 @@ declare module '@tiptap/core' {
}
}
export const focus: Commands['focus'] = (position = null) => ({
export const focus: RawCommands['focus'] = (position = null) => ({
editor,
view,
tr,