npm.io
3.0.6 • Published 2 years ago

@types/prosemirror-dev-tools

Licence
MIT
Version
3.0.6
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/prosemirror-dev-tools

Summary

This package contains type definitions for prosemirror-dev-tools (https://github.com/d4rkr00t/prosemirror-dev-tools#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prosemirror-dev-tools.

index.d.ts

import { EditorView } from "prosemirror-view";

export interface ApplyDevToolsOptions {
    diffWorker?: Worker | undefined;
}

/**
 * Wraps the EditorView instance in the applyDevTools.
 */
export default function applyDevTools(view: EditorView, options?: ApplyDevToolsOptions): void;

Additional Details

Credits

These definitions were written by Ifiok Jr..