export class Role {
    name: string;
    validationFunction: Function;

    constructor(name: string, validationFunction: Function) {
        this.name = name;
        this.validationFunction = validationFunction;
    }
}
export class Role {
    name: string;
    validationFunction: Function | string[];

    constructor(name: string, validationFunction: Function | string[]) {
        this.name = name;
        this.validationFunction = validationFunction;
    }
}
Update role to accept array
Update role to accept array
