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 {
tasks?: Task[]
updated_tasks?: Task[]
deleted_tasks?: Task[]
tasks: Task[]
filter?: string
total?: number
[key: string]: any
message?: string
}
export interface Task {
id: string
content: string
status: "pending" | "completed" | "cancelled"
created_at?: string
updated_at?: string
created_at: string
updated_at: string
completed_at?: string
}