diff --git a/src/services/utilities.ts b/src/services/utilities.ts index fa38c0dab0e79..be9740a77ef00 100644 --- a/src/services/utilities.ts +++ b/src/services/utilities.ts @@ -60,24 +60,6 @@ import { unescapeLeadingUnderscores, UserPreferences, VariableDeclaration, visitEachChild, VoidExpression, YieldExpression, } from "./_namespaces/ts"; -/** @internal */ // Don't expose that we use this -// Based on lib.es6.d.ts -declare global { - // Module transform: converted from ambient declaration - /** @internal */ - interface PromiseConstructor { - new (executor: (resolve: (value?: T | PromiseLike) => void, reject: (reason?: any) => void) => void): Promise; - reject(reason: any): Promise; - all(values: (T | PromiseLike)[]): Promise; - } -} -/** @internal */ -declare global { - // Module transform: converted from ambient declaration - /** @internal */ - var Promise: PromiseConstructor; // eslint-disable-line no-var -} - // These utilities are common to multiple language service features. //#region /** @internal */