Turning let into const where applicable
This commit is contained in:
parent
30ca47c2d8
commit
ac0b7a7361
5 changed files with 54 additions and 54 deletions
|
@ -68,7 +68,7 @@ export class Group {
|
|||
|
||||
isPartOfGroup(user: UserInterface): boolean
|
||||
{
|
||||
return this.users.indexOf(user) !== -1;
|
||||
return this.users.includes(user);
|
||||
}
|
||||
|
||||
/*removeFromGroup(users: UserInterface[]): void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue