load-script.d.ts 377 B

1234567891011
  1. /// <reference types="grecaptcha" />
  2. declare global {
  3. interface Window {
  4. ng2recaptchaloaded: () => void;
  5. }
  6. }
  7. declare function loadScript(renderMode: "explicit" | string, onLoaded: (grecaptcha: ReCaptchaV2.ReCaptcha) => void, urlParams: string, url?: string, nonce?: string): void;
  8. export declare const loader: {
  9. loadScript: typeof loadScript;
  10. };
  11. export {};