Have you come across this function declaration recently?
static required(control: AbstractControl): {
[key: string]: boolean;
};
What does the return value of this function mean? It seems to be returning an object with multiple properties, each containing a boolean value and a string name. This question is more related to TypeScript, but for those curious about where it's from - it can be found in Angular's Validators
class.