build: prepare for TypeScript 3.9 (#36989)
- Fix several compilation errors - Update @microsoft/api-extractor to be compatible with TypeScript 3.9 PR Close #36989
This commit is contained in:

committed by
Kara Erickson

parent
b58bd2bb91
commit
13ba84731f
@ -36,7 +36,7 @@ function asyncValidator(expected: string, timeouts = {}): AsyncValidatorFn {
|
||||
}
|
||||
|
||||
function asyncValidatorReturningObservable(c: AbstractControl) {
|
||||
const e = new EventEmitter();
|
||||
const e = new EventEmitter<Record<string, boolean>>();
|
||||
Promise.resolve(null).then(() => {
|
||||
e.emit({'async': true});
|
||||
});
|
||||
|
Reference in New Issue
Block a user