mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
tweak Position.toJSON
This commit is contained in:
@@ -150,7 +150,7 @@ export class Position {
|
||||
}
|
||||
|
||||
toJSON(): any {
|
||||
return [this.line, this.character];
|
||||
return { line: this.line, character: this.character };
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user