aboutsummaryrefslogtreecommitdiff
path: root/src/app.d.ts
blob: 0c87d224d728a94a7fd7ed38269be2c6e76dc73f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import type { AniList } from '$lib/AniList';
import 'bun-types';

// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
declare global {
  namespace App {
    // interface Error {}

    interface Locals {
      user: AniList;
    }

    // interface PageData {}
    // interface Platform {}
  }

  const umami: {
    track: (event_name: string, event_data?: Record<string, unknown>) => void;
  };
}