| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6aa7f3e commit bbdce63
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -60,24 +60,6 @@ import { | |||
| 60 | 60 | unescapeLeadingUnderscores, UserPreferences, VariableDeclaration, visitEachChild, VoidExpression, YieldExpression, | |
| 61 | 61 | } from "./_namespaces/ts"; | |
| 62 | 62 | ||
| 63 | - /** @internal */ // Don't expose that we use this | ||
| 64 | - // Based on lib.es6.d.ts | ||
| 65 | - declare global { | ||
| 66 | - // Module transform: converted from ambient declaration | ||
| 67 | - /** @internal */ | ||
| 68 | - interface PromiseConstructor { | ||
| 69 | - new <T>(executor: (resolve: (value?: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void): Promise<T>; | ||
| 70 | - reject(reason: any): Promise<never>; | ||
| 71 | - all<T>(values: (T | PromiseLike<T>)[]): Promise<T[]>; | ||
| 72 | - } | ||
| 73 | - } | ||
| 74 | - /** @internal */ | ||
| 75 | - declare global { | ||
| 76 | - // Module transform: converted from ambient declaration | ||
| 77 | - /** @internal */ | ||
| 78 | - var Promise: PromiseConstructor; // eslint-disable-line no-var | ||
| 79 | - } | ||
| 80 | - | ||
| 81 | 63 | // These utilities are common to multiple language service features. | |
| 82 | 64 | //#region | |
| 83 | 65 | /** @internal */ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments