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