Build with latest TS nightly (#120690)

* Pick up new TS 4.3

Also tests adding override keywords for extensions as part of #120675

* Update to daily TS and workaround TS 4.3 issue

Works around https://github.com/microsoft/TypeScript/issues/43578
This commit is contained in:
Matt Bierner
2021-04-07 12:19:05 -07:00
committed by GitHub
parent 8d235ef07c
commit 73ae56b82b
17 changed files with 36 additions and 36 deletions

View File

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