Skip to content

Commit

Permalink
fix: messages array is likely to contain a string
Browse files Browse the repository at this point in the history
  • Loading branch information
jinsley8 committed Feb 17, 2024
1 parent d26b75f commit 9253ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lib/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ interface TurnstileServerValidationResponse {
/** Whether or not an interactive challenge was issued by Cloudflare */
metadata?: { interactive: boolean }
/** Error messages returned */
messages?: []
messages?: string[]
}

/**
Expand Down

0 comments on commit 9253ec3

Please sign in to comment.