aboutsummaryrefslogtreecommitdiff
path: root/src/app.d.ts
blob: 1598a90b2affdeb8bae2b5356368355c52cc3b26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
  };
}

export {};