module.d.ts 346 B

12345678910111213141516171819
  1. import "next";
  2. import { initializeStore } from "./store";
  3. declare module "*.svg";
  4. declare global {
  5. interface Window {
  6. GA_INITIALIZED: boolean;
  7. grecaptcha: any;
  8. isCaptchaReady: boolean;
  9. captchaId: boolean;
  10. }
  11. }
  12. declare module "next" {
  13. export interface NextPageContext {
  14. store: ReturnType<typeof initializeStore>;
  15. }
  16. }