aboutsummaryrefslogtreecommitdiff
path: root/src/app.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.d.ts')
-rw-r--r--src/app.d.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/app.d.ts b/src/app.d.ts
new file mode 100644
index 00000000..34cd4db6
--- /dev/null
+++ b/src/app.d.ts
@@ -0,0 +1,18 @@
+import type { AniList } from '$lib/AniList';
+
+// 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 {}
+ }
+}
+
+export {};