misc: JSON.parse 중 any인 것에 type 지정
This commit is contained in:
@@ -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