module.d.ts 272 B

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