zwischenstand
This commit is contained in:
16
types/cryptcha/index.d.ts
vendored
Normal file
16
types/cryptcha/index.d.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
declare module "cryptcha" {
|
||||
interface CryptchaInitOptions {
|
||||
siteId: string
|
||||
target: HTMLElement
|
||||
baseUrl?: string
|
||||
log?: boolean
|
||||
autoSolve?: boolean
|
||||
onSolved?: (payload: { solution: string; solutionId: string }) => void
|
||||
}
|
||||
|
||||
export default class Cryptcha {
|
||||
constructor(options: CryptchaInitOptions)
|
||||
destroy(): void
|
||||
reset(): void
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user