Created
February 22, 2021 04:30
-
-
Save margauxflores/daecedf6c2bda0a0a07b95f2257c6f19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ReCaptchaInstance } from 'recaptcha-v3'; | |
declare module '@vue/runtime-core' { | |
interface ComponentCustomProperties { | |
$recaptcha: (action: string) => Promise<string>; | |
$recaptchaLoaded: () => Promise<boolean>; | |
$recaptchaInstance: ReCaptchaInstance; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment