@tiptap/extension-history
Advanced tools
Comparing version 2.0.0-beta.12 to 2.0.0-beta.13
@@ -6,2 +6,10 @@ # Change Log | ||
# [2.0.0-beta.13](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-history@2.0.0-beta.12...@tiptap/extension-history@2.0.0-beta.13) (2021-06-07) | ||
**Note:** Version bump only for package @tiptap/extension-history | ||
# [2.0.0-beta.12](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-history@2.0.0-beta.11...@tiptap/extension-history@2.0.0-beta.12) (2021-05-18) | ||
@@ -8,0 +16,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { Command, Extension } from '@tiptap/core'; | ||
import { Extension } from '@tiptap/core'; | ||
export interface HistoryOptions { | ||
@@ -7,3 +7,3 @@ depth: number; | ||
declare module '@tiptap/core' { | ||
interface Commands { | ||
interface Commands<ReturnType> { | ||
history: { | ||
@@ -13,7 +13,7 @@ /** | ||
*/ | ||
undo: () => Command; | ||
undo: () => ReturnType; | ||
/** | ||
* Reapply reverted changes | ||
*/ | ||
redo: () => Command; | ||
redo: () => ReturnType; | ||
}; | ||
@@ -20,0 +20,0 @@ } |
{ | ||
"name": "@tiptap/extension-history", | ||
"description": "history extension for tiptap", | ||
"version": "2.0.0-beta.12", | ||
"version": "2.0.0-beta.13", | ||
"homepage": "https://tiptap.dev", | ||
@@ -30,3 +30,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "6b154e4c8161fbba987e162ebebc155243432f24" | ||
"gitHead": "5c8e46b0d48aa09ba0d2e8337ae6bbb2d7503e82" | ||
} |
@@ -1,2 +0,2 @@ | ||
import { Command, Extension } from '@tiptap/core' | ||
import { Extension } from '@tiptap/core' | ||
import { history, undo, redo } from 'prosemirror-history' | ||
@@ -10,3 +10,3 @@ | ||
declare module '@tiptap/core' { | ||
interface Commands { | ||
interface Commands<ReturnType> { | ||
history: { | ||
@@ -16,7 +16,7 @@ /** | ||
*/ | ||
undo: () => Command, | ||
undo: () => ReturnType, | ||
/** | ||
* Reapply reverted changes | ||
*/ | ||
redo: () => Command, | ||
redo: () => ReturnType, | ||
} | ||
@@ -23,0 +23,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20742