diff --git a/extensions/git/src/commands.ts b/extensions/git/src/commands.ts index 48984566cdd..c370133d8d7 100644 --- a/extensions/git/src/commands.ts +++ b/extensions/git/src/commands.ts @@ -19,7 +19,6 @@ import { grep, isDescendant, pathEquals } from './util'; import { Log, LogLevel } from './log'; import { GitTimelineItem } from './timelineProvider'; import { throttle, debounce } from './decorators'; -import { URI } from 'vscode-uri'; const localize = nls.loadMessageBundle(); @@ -932,7 +931,7 @@ export class CommandCenter { } @command('git.rename', { repository: true }) - async rename(repository: Repository, fromUri: URI): Promise { + async rename(repository: Repository, fromUri: Uri): Promise { this.outputChannel.appendLine(`git.rename ${fromUri.fsPath}`); const rootPath = workspace.rootPath; diff --git a/extensions/types/lib.textEncoder.d.ts b/extensions/types/lib.textEncoder.d.ts index 02e1b4890af..99a5b2271d6 100644 --- a/extensions/types/lib.textEncoder.d.ts +++ b/extensions/types/lib.textEncoder.d.ts @@ -7,5 +7,5 @@ // // Proper fix: https://github.com/microsoft/TypeScript/issues/31535 -declare let TextDecoder: typeof import('util').TextDecoder; -declare let TextEncoder: typeof import('util').TextEncoder; +declare var TextDecoder: typeof import('util').TextDecoder; +declare var TextEncoder: typeof import('util').TextEncoder;