Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
bskinn committed Mar 29, 2024
1 parent f17576f commit 3b0d1b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3b0d1b5

Please sign in to comment.