misc: JSON.parse 중 any인 것에 type 지정

This commit is contained in:
Hide_D committed 2022-04-12 22:45:22 +09:00
1 parent 6b1006ec19
commit 24474c9f7a
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -418,7 +418,7 @@ async function submitBet(): Promise<void> {
}
const bettingID = bettingInfo.id;
const bettingType = JSON.parse(pickedBetTypeKey.value);
const bettingType = JSON.parse(pickedBetTypeKey.value) as number[];
const amount = betPoint.value;
try {
await SammoAPI.Betting.Bet({