mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
Merge pull request #4999 from Carreau/cm-change-origin
Change event in codemirror also have a `origin` field
This commit is contained in:
Vendored
+2
@@ -601,6 +601,8 @@ declare module CodeMirror {
|
||||
text: string[];
|
||||
/** Text that used to be between from and to, which is overwritten by this change. */
|
||||
removed: string;
|
||||
/** String representing the origin of the change event and wether it can be merged with history */
|
||||
origin: string;
|
||||
}
|
||||
|
||||
interface EditorChangeLinkedList extends CodeMirror.EditorChange {
|
||||
|
||||
Reference in New Issue
Block a user