I am trying to declare and interface. Basically a user has a collection of roles. I am not able to understand what the right syntax in Typescript for this operation.
export interface User {
firstName: string;
lastName: string;
roles: [Role]
}
export interface Role {
accountId: string;
roleId: string;
}