Initial commit
This commit is contained in:
21
frontend/src/app.d.ts
vendored
Normal file
21
frontend/src/app.d.ts
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
// See https://svelte.dev/docs/kit/types#app.d.ts
|
||||
// for information about these interfaces
|
||||
|
||||
import type { ApiClient } from '$lib/server/api';
|
||||
import type { User } from 'lucide-svelte';
|
||||
|
||||
declare global {
|
||||
namespace App {
|
||||
// interface Error {}
|
||||
interface Locals {
|
||||
authToken: string | null;
|
||||
api: ApiClient;
|
||||
user: User;
|
||||
}
|
||||
// interface PageData {}
|
||||
// interface PageState {}
|
||||
// interface Platform {}
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
||||
Reference in New Issue
Block a user