mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
type converters, use namespace in more places
This commit is contained in:
@@ -59,7 +59,7 @@ export class DiffAPICommand {
|
||||
left, right,
|
||||
label,
|
||||
undefined,
|
||||
typeConverters.toTextEditorOptions(options),
|
||||
typeConverters.TextEditorOptions.from(options),
|
||||
options ? typeConverters.ViewColumn.from(options.viewColumn) : undefined
|
||||
]);
|
||||
}
|
||||
@@ -76,7 +76,7 @@ export class OpenAPICommand {
|
||||
if (typeof columnOrOptions === 'number') {
|
||||
column = typeConverters.ViewColumn.from(columnOrOptions);
|
||||
} else {
|
||||
options = typeConverters.toTextEditorOptions(columnOrOptions);
|
||||
options = typeConverters.TextEditorOptions.from(columnOrOptions);
|
||||
column = typeConverters.ViewColumn.from(columnOrOptions.viewColumn);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user