misc: JSON.parse 중 any인 것에 type 지정
This commit is contained in:
1 parent
6b1006ec19
commit
24474c9f7a
3 files changed
+4
-4
No files matched your search
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user