diff --git a/src/@types/hcaptcha.d.ts b/src/@types/hcaptcha.d.ts index 694c8388a..afed58756 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; }