Skip to content

Commit 9a46a5a

Browse files
fix(wiza): type isTerminalReveal param structurally for next build typecheck
1 parent 185da79 commit 9a46a5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/tools/wiza/individual_reveal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const MAX_POLL_TIME_MS = 120000
1313
const MAX_CONSECUTIVE_POLL_ERRORS = 3
1414

1515
/** Whether a reveal payload has reached a terminal state and no longer needs polling. */
16-
function isTerminalReveal(d: Record<string, unknown>): boolean {
16+
function isTerminalReveal(d: { status?: string | null; is_complete?: boolean | null }): boolean {
1717
return d.status === 'finished' || d.status === 'failed' || d.is_complete === true
1818
}
1919

0 commit comments

Comments
 (0)