mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
type converter, use namespace for Range
This commit is contained in:
@@ -95,7 +95,7 @@ export class ExtHostCommands implements ExtHostCommandsShape {
|
||||
return extHostTypeConverter.fromPosition(value);
|
||||
}
|
||||
if (value instanceof extHostTypes.Range) {
|
||||
return extHostTypeConverter.fromRange(value);
|
||||
return extHostTypeConverter.Range.from(value);
|
||||
}
|
||||
if (value instanceof extHostTypes.Location) {
|
||||
return extHostTypeConverter.location.from(value);
|
||||
|
||||
Reference in New Issue
Block a user