all repos — kōi @ 6552cde48bf0f293b876864af2aff29c013e24f5

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: number;
16		done?: boolean;
17		dueDate?: Date;
18		content: string;
19	}
20}
21
22export {};