mirror of
https://github.com/Microsoft/vscode
synced 2024-07-17 02:57:19 +00:00
Switch to standard imports (#169451)
This commit is contained in:
parent
c1498b35dd
commit
c390a331c5
|
@ -7,7 +7,7 @@ import { TextDecoder } from 'util';
|
|||
import { commands, env, ProgressLocation, Uri, window, workspace, QuickPickOptions, FileType, l10n } from 'vscode';
|
||||
import { getOctokit } from './auth';
|
||||
import { GitErrorCodes, PushErrorHandler, Remote, Repository } from './typings/git';
|
||||
import path = require('path');
|
||||
import * as path from 'path';
|
||||
|
||||
type Awaited<T> = T extends PromiseLike<infer U> ? Awaited<U> : T;
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
import * as vscode from 'vscode';
|
||||
import * as querystring from 'querystring';
|
||||
import path = require('path');
|
||||
import * as path from 'path';
|
||||
import Logger from './logger';
|
||||
import { isSupportedEnvironment } from './utils';
|
||||
import { generateCodeChallenge, generateCodeVerifier, randomUUID } from './cryptoUtils';
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import findWorkspaceRoot = require('../node_modules/find-yarn-workspace-root');
|
||||
import findUp = require('find-up');
|
||||
import * as findUp from 'find-up';
|
||||
import * as path from 'path';
|
||||
import whichPM = require('which-pm');
|
||||
import * as whichPM from 'which-pm';
|
||||
import { Uri, workspace } from 'vscode';
|
||||
|
||||
interface PreferredProperties {
|
||||
|
|
Loading…
Reference in a new issue