type converters, use namespace for Position

This commit is contained in:
Johannes Rieken
2018-05-04 18:24:01 +02:00
parent dfb070c277
commit 9f6053242f
5 changed files with 32 additions and 31 deletions

View File

@@ -92,7 +92,7 @@ export class ExtHostCommands implements ExtHostCommandsShape {
args = cloneAndChange(args, function (value) {
if (value instanceof extHostTypes.Position) {
return extHostTypeConverter.fromPosition(value);
return extHostTypeConverter.Position.from(value);
}
if (value instanceof extHostTypes.Range) {
return extHostTypeConverter.Range.from(value);