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

This commit is contained in:
2022-04-12 22:45:22 +09:00
parent 6b1006ec19
commit 24474c9f7a
3 changed files with 4 additions and 4 deletions
+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({