all repos — kōi @ 13ba0aa72c94f508c54f3862f99e195a4ec73f4c

Minimalist task manager

src/app.d.ts (view raw)

 1// See https://svelte.dev/docs/kit/types#app.d.ts
 2// for information about these interfaces
 3declare global {
 4	namespace App {
 5		// interface Error {}
 6		interface Locals {
 7			getSession: () => Promise<Session | undefined>;
 8		}
 9		// interface PageData {}
10		// interface PageState {}
11		// interface Platform {}
12	}
13
14	interface Task {
15		id: string;
16		name: string;
17		done?: boolean;
18		dueDate?: Date | null;
19	}
20}
21
22export {};