mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-22 10:46:11 +00:00
Migrate github extension to ESM (2nd attempt) (#248312)
* Revert "GitHub - revert ESM migration (#247322)"
This reverts commit 2047ab0fff.
* use `"@vscode/extension-telemetry": "^1.0.0"` which doesn't use default export anymore
This commit is contained in:
@@ -5,10 +5,12 @@
|
||||
|
||||
import { TextDecoder } from 'util';
|
||||
import { commands, env, ProgressLocation, Uri, window, workspace, QuickPickOptions, FileType, l10n, Disposable, TextDocumentContentProvider } from 'vscode';
|
||||
import TelemetryReporter from '@vscode/extension-telemetry';
|
||||
import { getOctokit } from './auth';
|
||||
import { GitErrorCodes, PushErrorHandler, Remote, Repository } from './typings/git';
|
||||
import { getOctokit } from './auth.js';
|
||||
import { GitErrorCodes, PushErrorHandler, Remote, Repository } from './typings/git.js';
|
||||
import * as path from 'path';
|
||||
import { TelemetryReporter } from '@vscode/extension-telemetry';
|
||||
|
||||
|
||||
|
||||
type Awaited<T> = T extends PromiseLike<infer U> ? Awaited<U> : T;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user