@types/prosemirror-history
Advanced tools
Comparing version 0.21.0 to 0.21.1
@@ -6,3 +6,3 @@ // Type definitions for prosemirror-history 0.21 | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.1 | ||
// TypeScript Version: 2.3 | ||
@@ -14,3 +14,3 @@ import { Plugin } from 'prosemirror-state'; | ||
export function closeHistory(tr: Transaction): Transaction; | ||
export function history(config?: { depth?: number, newGroupDelay: number, preserveItems?: boolean }): Plugin; | ||
export function history<T>(config?: { depth?: number, newGroupDelay: number, preserveItems?: boolean }): Plugin<T>; | ||
export function undo(state: EditorState, dispatch?: (tr: Transaction) => void): boolean; | ||
@@ -17,0 +17,0 @@ export function redo(state: EditorState, dispatch?: (tr: Transaction) => void): boolean; |
{ | ||
"name": "@types/prosemirror-history", | ||
"version": "0.21.0", | ||
"version": "0.21.1", | ||
"description": "TypeScript definitions for prosemirror-history", | ||
@@ -26,4 +26,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "c84819f2213cc4411f32e1eba82bd7e773bd5324aed01d6ff25e6d7488b333df", | ||
"typeScriptVersion": "2.1" | ||
"typesPublisherContentHash": "909674c45bc760fbb80c8c63675a3e327c777ed413278d398f6001845bde815a", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 02 Jun 2017 17:06:02 GMT | ||
* Last updated: Fri, 16 Jun 2017 16:37:51 GMT | ||
* Dependencies: prosemirror-state | ||
@@ -14,0 +14,0 @@ * Global values: none |
3531