Skip to content

Instantly share code, notes, and snippets.

@margauxflores
Created February 22, 2021 04:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save margauxflores/daecedf6c2bda0a0a07b95f2257c6f19 to your computer and use it in GitHub Desktop.
Save margauxflores/daecedf6c2bda0a0a07b95f2257c6f19 to your computer and use it in GitHub Desktop.
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