mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
type converters, use namespace for Position
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user