DefinitelyTyped/types/prosemirror-state
Mike Morearty 47bbd21d49
prosemirror-state and prosemirror-view: Specify 'this' binding (#45688)
* prosemirror-state and prosemirror-view: Specify 'this' binding

Various functions in prosemirror-state and prosemirror-view have specific,
documented bindings for 'this':

* All functions in EditorProps and StateField have their 'this' binding set to
  type 'Plugin' (the plugin instance)
* DirectEditorProps.dispatchTransaction() has its 'this' binding set to type
  'EditorView' (the view instance)

* Add my name to headers

* Prosemirror: Changes as per code review
2020-06-29 04:28:25 -04:00
..
index.d.ts
prosemirror-state-tests.ts
tsconfig.json
tslint.json