Aug 23, 2017 · 1 min read
I think you could also extend
AsyncValidatorso that if your IDE allows you to see typings, you’d immediately know that the return type should be:
Promise<ValidationErrors | null> | Observable<ValidationErrors | null>instead of having to guess that it is :)
