We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 185da79 commit 9a46a5aCopy full SHA for 9a46a5a
1 file changed
apps/sim/tools/wiza/individual_reveal.ts
@@ -13,7 +13,7 @@ const MAX_POLL_TIME_MS = 120000
13
const MAX_CONSECUTIVE_POLL_ERRORS = 3
14
15
/** Whether a reveal payload has reached a terminal state and no longer needs polling. */
16
-function isTerminalReveal(d: Record<string, unknown>): boolean {
+function isTerminalReveal(d: { status?: string | null; is_complete?: boolean | null }): boolean {
17
return d.status === 'finished' || d.status === 'failed' || d.is_complete === true
18
}
19
0 commit comments