mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Merge pull request #21304 from demeshkin/codemirror_fix
[Codemirror] Text parameter should be an array in changeObj.update method
This commit is contained in:
Vendored
+1
-1
@@ -692,7 +692,7 @@ declare namespace CodeMirror {
|
||||
|
||||
interface EditorChangeCancellable extends CodeMirror.EditorChange {
|
||||
/** may be used to modify the change. All three arguments to update are optional, and can be left off to leave the existing value for that field intact. */
|
||||
update(from?: CodeMirror.Position, to?: CodeMirror.Position, text?: string): void;
|
||||
update(from?: CodeMirror.Position, to?: CodeMirror.Position, text?: string[]): void;
|
||||
|
||||
cancel(): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user