tweak Position.toJSON

This commit is contained in:
Johannes Rieken
2016-01-25 11:23:53 +01:00
parent b52faa8e10
commit acbaa258c4
2 changed files with 18 additions and 18 deletions

View File

@@ -150,7 +150,7 @@ export class Position {
}
toJSON(): any {
return [this.line, this.character];
return { line: this.line, character: this.character };
}
}