Switch to standard imports (#169451)

This commit is contained in:
Matt Bierner 2022-12-16 15:22:53 -08:00 committed by GitHub
parent c1498b35dd
commit c390a331c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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';

View file

@ -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 {