Skip to content

Commit 4a2f4f3

Browse files
committed
update(prosemirror-transform): add StepMap.empty type
Add type `StepMap.empty` exposed in `prosemirror-transform` 1.3.4 @see ProseMirror/prosemirror-transform#20
1 parent d7d9c1d commit 4a2f4f3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

types/prosemirror-transform/index.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@ export class StepMap implements Mappable {
101101
* sub-document to a larger document, or vice-versa.
102102
*/
103103
static offset(n: number): StepMap;
104+
105+
/**
106+
* A StepMap that contains no changed ranges.
107+
*/
108+
static empty: StepMap;
104109
}
105110
/**
106111
* A mapping represents a pipeline of zero or more [step

0 commit comments

Comments
 (0)