Fix VSCode/Extensions for TS 2.3.1 (#25248)

From: https://github.com/Microsoft/TypeScript/issues/15352

TS 2.3.1 introduced a breaking change around checking of generic types. This change tries to fix these compiler errors in the extensions codebase
This commit is contained in:
Matt Bierner
2017-04-24 16:05:57 -07:00
committed by GitHub
parent fbfb925b4d
commit dc0f3ecdb2
8 changed files with 16 additions and 14 deletions

View File

@@ -176,7 +176,7 @@ export class ThrottledDelayer<T> extends Delayer<Promise<T>> {
constructor(defaultDelay: number) {
super(defaultDelay);
this.throttler = new Throttler();
this.throttler = new Throttler<T>();
}
public trigger(promiseFactory: ITask<Promise<T>>, delay?: number): Promise<Promise<T>> {