@types/prosemirror-model
Advanced tools
Comparing version 1.16.0 to 1.16.1
@@ -10,2 +10,3 @@ // Type definitions for prosemirror-model 1.16 | ||
// Martin Staffa <https://github.com/Narretz> | ||
// Ocavue <https://github.com/ocavue> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -108,3 +109,8 @@ // TypeScript Version: 2.3 | ||
*/ | ||
textBetween(from: number, to: number, blockSeparator?: string | null, leafText?: string | null): string; | ||
textBetween( | ||
from: number, | ||
to: number, | ||
blockSeparator?: string | null, | ||
leafText?: string | ((leafNode: ProsemirrorNode) => string) | null, | ||
): string; | ||
/** | ||
@@ -561,3 +567,8 @@ * Create a new fragment containing the combined content of this | ||
*/ | ||
textBetween(from: number, to: number, blockSeparator?: string, leafText?: string): string; | ||
textBetween( | ||
from: number, | ||
to: number, | ||
blockSeparator?: string, | ||
leafText?: string | ((leafNode: ProsemirrorNode) => string) | null, | ||
): string; | ||
/** | ||
@@ -1415,3 +1426,3 @@ * Returns this node's first child, or `null` if there are no | ||
} | ||
export type DOMOutputSpec = string | Node | DOMOutputSpecArray | {dom: Node, contentDOM?: Node | undefined}; | ||
export type DOMOutputSpec = string | Node | DOMOutputSpecArray | { dom: Node; contentDOM?: Node | undefined }; | ||
/** | ||
@@ -1418,0 +1429,0 @@ * A DOM serializer knows how to convert ProseMirror nodes and |
{ | ||
"name": "@types/prosemirror-model", | ||
"version": "1.16.0", | ||
"version": "1.16.1", | ||
"description": "TypeScript definitions for prosemirror-model", | ||
@@ -42,2 +42,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prosemirror-model", | ||
"githubUsername": "Narretz" | ||
}, | ||
{ | ||
"name": "Ocavue", | ||
"url": "https://github.com/ocavue", | ||
"githubUsername": "ocavue" | ||
} | ||
@@ -56,4 +61,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "84125ba118821e08f75b6fc37b5266e5231b440e22a9c2797e6623d6f2a7fc48", | ||
"typesPublisherContentHash": "9c6751f6d6ff15a9e78ae41d9943b29cf905b732f7d1aaa437bf08ab85f0b52e", | ||
"typeScriptVersion": "3.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 05 Jan 2022 20:31:29 GMT | ||
* Last updated: Sat, 05 Feb 2022 04:01:24 GMT | ||
* Dependencies: [@types/orderedmap](https://npmjs.com/package/@types/orderedmap) | ||
@@ -17,2 +17,2 @@ * 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), [Malte Blanken](https://github.com/neknalb), [Patrick Simmelbauer](https://github.com/patsimm), [Anthony Weston](https://github.com/AnthonyWeston), and [Martin Staffa](https://github.com/Narretz). | ||
These definitions were written by [Bradley Ayers](https://github.com/bradleyayers), [David Hahn](https://github.com/davidka), [Tim Baumann](https://github.com/timjb), [Malte Blanken](https://github.com/neknalb), [Patrick Simmelbauer](https://github.com/patsimm), [Anthony Weston](https://github.com/AnthonyWeston), [Martin Staffa](https://github.com/Narretz), and [Ocavue](https://github.com/ocavue). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60316
1474