diff options
| author | Acid Chicken (硫酸鶏) <root@acid-chicken.com> | 2020-05-02 10:51:12 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-02 10:51:12 +0900 |
| commit | a3ff1bfda74a3f7b8fdffd90c64530fb28cf1f8f (patch) | |
| tree | 9d1620a69f4c0f816cd59e9bf8e7031edb74fd28 /src/@types | |
| parent | Update src/@types/hcaptcha.d.ts (diff) | |
| download | sharkey-a3ff1bfda74a3f7b8fdffd90c64530fb28cf1f8f.tar.gz sharkey-a3ff1bfda74a3f7b8fdffd90c64530fb28cf1f8f.tar.bz2 sharkey-a3ff1bfda74a3f7b8fdffd90c64530fb28cf1f8f.zip | |
Update hcaptcha.d.ts
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>; } |