Socket
Socket
Sign inDemoInstall

@types/prosemirror-history

Package Overview
Dependencies
7
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

10

prosemirror-history/index.d.ts

@@ -32,13 +32,7 @@ // Type definitions for prosemirror-history 1.0

*/
export function undo<S extends Schema = any>(
state: EditorState<S>,
dispatch?: (tr: Transaction<S>) => void
): boolean;
export function undo<S extends Schema = any>(state: EditorState<S>, dispatch?: (tr: Transaction<S>) => void): boolean;
/**
* A command function that redoes the last undone change, if any.
*/
export function redo<S extends Schema = any>(
state: EditorState<S>,
dispatch?: (tr: Transaction<S>) => void
): boolean;
export function redo<S extends Schema = any>(state: EditorState<S>, dispatch?: (tr: Transaction<S>) => void): boolean;
/**

@@ -45,0 +39,0 @@ * The amount of undoable events available in a given state.

{
"name": "@types/prosemirror-history",
"version": "1.0.1",
"version": "1.0.2",
"description": "TypeScript definitions for prosemirror-history",

@@ -29,5 +29,7 @@ "license": "MIT",

"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/prosemirror-history"
},

@@ -39,4 +41,4 @@ "scripts": {},

},
"typesPublisherContentHash": "f484bb47c7d88bd7f1fe5933d5956edc5f194e6f448a49fa8e7ed8031b8b40c2",
"typeScriptVersion": "2.3"
"typesPublisherContentHash": "e02e2135c6358d50c52010f5d88d06220a4eebfd75fd59b3b1e3f0802ada0034",
"typeScriptVersion": "3.4"
}

10

prosemirror-history/README.md

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prosemirror-history
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prosemirror-history.
Additional Details
* Last updated: Fri, 20 Apr 2018 17:40:51 GMT
* Dependencies: prosemirror-model, prosemirror-state
### Additional Details
* Last updated: Mon, 18 Jan 2021 15:07:06 GMT
* Dependencies: [@types/prosemirror-model](https://npmjs.com/package/@types/prosemirror-model), [@types/prosemirror-state](https://npmjs.com/package/@types/prosemirror-state)
* Global values: none
# Credits
These definitions were written by Bradley Ayers <https://github.com/bradleyayers>, David Hahn <https://github.com/davidka>, Tim Baumann <https://github.com/timjb>, Patrick Simmelbauer <https://github.com/patsimm>.
These definitions were written by [Bradley Ayers](https://github.com/bradleyayers), [David Hahn](https://github.com/davidka), [Tim Baumann](https://github.com/timjb), and [Patrick Simmelbauer](https://github.com/patsimm).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc