mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-28 12:20:21 +01:00
Update hcaptcha.d.ts
This commit is contained in:
parent
f57888eb4b
commit
a3ff1bfda7
1 changed files with 2 additions and 2 deletions
4
src/@types/hcaptcha.d.ts
vendored
4
src/@types/hcaptcha.d.ts
vendored
|
@ -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>;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue