feat(#1): Add estimate option for not choosing a number

This commit is contained in:
Josh Creek
2023-07-13 19:59:23 +00:00
parent 7def4c21a8
commit d7900644c4
7 changed files with 10 additions and 34 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ export class Room {
}
getAllEstimates() {
const estimates = new Map<string, number>();
const estimates = new Map<string, number | string>();
this.users.forEach((user) => {
if (user.estimate !== null) {
estimates.set(user.name, user.estimate);