diff options
Diffstat (limited to 'src/@types')
| -rw-r--r-- | src/@types/hcaptcha.d.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/@types/hcaptcha.d.ts b/src/@types/hcaptcha.d.ts index 694c8388a9..afed587560 100644 --- a/src/@types/hcaptcha.d.ts +++ b/src/@types/hcaptcha.d.ts @@ -1,11 +1,11 @@ declare module 'hcaptcha' { - interface IVerifyResponse { + interface IVerifyResponse { success: boolean; challenge_ts: string; hostname: string; credit?: boolean; 'error-codes'?: unknown[]; - } + } export function verify(secret: string, token: string): Promise<IVerifyResponse>; } |