chore: fix type

This commit is contained in:
Krishav Raj Singh 2025-07-30 00:23:39 +05:30
parent 50ea2da1ac
commit 3e2f442a17
1 changed files with 4 additions and 6 deletions

View File

@ -1,18 +1,16 @@
export interface TaskListData { export interface TaskListData {
tasks?: Task[] tasks: Task[]
updated_tasks?: Task[]
deleted_tasks?: Task[]
filter?: string filter?: string
total?: number total?: number
[key: string]: any message?: string
} }
export interface Task { export interface Task {
id: string id: string
content: string content: string
status: "pending" | "completed" | "cancelled" status: "pending" | "completed" | "cancelled"
created_at?: string created_at: string
updated_at?: string updated_at: string
completed_at?: string completed_at?: string
} }