Skip to content

Commit dad83ba

Browse files
committed
tsc b
1 parent a7420ae commit dad83ba

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: bun lint
2727

2828
- name: check types
29-
run: bun tsc
29+
run: bun tsc -b
3030

3131
- name: run tests
3232
run: bun test

apps/client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"private": true,
66
"scripts": {
77
"dev": "vite",
8-
"build": "tsc && vite build",
8+
"build": "tsc -b && vite build",
99
"preview": "vite preview"
1010
},
1111
"dependencies": {

apps/server/src/room/interaction/preferentialVote.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function tallyVotes(
1717
votes.forEach((vote) => {
1818
const firstChoice = vote[0];
1919
if (voteCounts[firstChoice!] !== undefined) {
20-
voteCounts[firstChoice!] += 1;
20+
voteCounts[firstChoice!]! += 1;
2121
}
2222
});
2323

0 commit comments

Comments
 (0)