From 3b0d1b58117bf04e61a2c45e1064dcf41edab04d Mon Sep 17 00:00:00 2001 From: Brian Skinn Date: Fri, 29 Mar 2024 11:00:36 -0400 Subject: [PATCH] Fix type error --- src/helpers/state.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/state.ts b/src/helpers/state.ts index f427bce..b4709c7 100644 --- a/src/helpers/state.ts +++ b/src/helpers/state.ts @@ -3,7 +3,7 @@ import type { TRoundTurnInfo } from '@/types/types-score-scrape' import { BONUS_TURN_ID } from '@/consts' -export const calcRoundTurn = (raw_turn: TRawTurnIdxxr): TRoundTurnInfo => { +export const calcRoundTurn = (raw_turn: TRawTurnId): TRoundTurnInfo => { // raw_turn is zero-indexed // The output round and in-round turn are one-indexed if (raw_turn <= 7) {