7 Commits
Author SHA1 Message Date
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
David 3089986096 Update prosemirror-model to v0.24 (#19935)
* Make NodeRange constructor public

* Remove parameter from ResolvePos.marks

* Remove matchNode, matchToEnd, findWrappingFor and allowsMark from ContentMatch

* Add allowsMarkType, allowsMarks and allowedMarks to NodeType

* Change ContentMatch.validEnd from method to a property

* Change return type of ContentMatch.findWrapping

* Remove AttributeSpec.compute

* Remove Fragment.offsetAt

* DOMParser.schemaRules is no longer public

* Replace topStart from DOM parser option with topMatch

* DOMSerializer methods nodesFromSchema and marksFromSchema are no longer public

* ParseRule.contentElement may now be a function.

* Add new method ResolvedPos.marksAcross

* Add NodeType.contentMatch

* Add NodeSpec.marks

* Add Fragment.size

* Increment version for prosemirror-model to 0.24

* Adapt parameter and return type of ContentMatch.findWrapping
2017-09-25 16:57:54 -07:00
Andy cb2dbfbb50 Add ignores for new lint rules (#19504) 2017-09-01 07:47:52 -07:00
Andy 5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Bradley Ayers 86cae1148f Update prosemirror-collab prosemirror-commands prosemirror-history prosemirror-inputrules prosemirror-keymap prosemirror-markdown prosemirror-model prosemirror-state prosemirror-transform prosemirror-view to 0.21 2017-06-16 10:52:58 +10:00
Jos van den Oever 7db839923e Make type for nodes and marks more specific 2017-06-14 14:15:46 +02:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00