We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7420ae commit dad83baCopy full SHA for dad83ba
.github/workflows/test.yml
@@ -26,7 +26,7 @@ jobs:
26
run: bun lint
27
28
- name: check types
29
- run: bun tsc
+ run: bun tsc -b
30
31
- name: run tests
32
run: bun test
apps/client/package.json
@@ -5,7 +5,7 @@
5
"private": true,
6
"scripts": {
7
"dev": "vite",
8
- "build": "tsc && vite build",
+ "build": "tsc -b && vite build",
9
"preview": "vite preview"
10
},
11
"dependencies": {
apps/server/src/room/interaction/preferentialVote.ts
@@ -17,7 +17,7 @@ function tallyVotes(
17
votes.forEach((vote) => {
18
const firstChoice = vote[0];
19
if (voteCounts[firstChoice!] !== undefined) {
20
- voteCounts[firstChoice!] += 1;
+ voteCounts[firstChoice!]! += 1;
21
}
22
});
23
0 commit comments