/// /// interface PageProps { navigate: (page: string) => void; } interface Task { id: string; name: string; done?: boolean; dueDate?: Date | null; }