mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
also allow number for changed position.
workstream:
This commit is contained in:
+2
-2
@@ -18,8 +18,8 @@ declare module "codemirror" {
|
||||
doc: CodeMirror.Doc,
|
||||
name: string,
|
||||
changed?: {
|
||||
from: CodeMirror.Position,
|
||||
to: CodeMirror.Position
|
||||
from: CodeMirror.Position | number,
|
||||
to: CodeMirror.Position | number
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user