aboutsummaryrefslogtreecommitdiff
path: root/src/app.d.ts
blob: 0d198405a473ae915fabc831e1f7a2e0934e4a20 (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;
	};
}