✨ 🪚 types.ts
This commit is contained in:
@@ -16,3 +16,4 @@ export type TodoItem = z.infer<ReturnType<typeof TodoItemSchema>>
|
|||||||
|
|
||||||
export const TodoListSchema = lazySchema(() => z.array(TodoItemSchema()))
|
export const TodoListSchema = lazySchema(() => z.array(TodoItemSchema()))
|
||||||
export type TodoList = z.infer<ReturnType<typeof TodoListSchema>>
|
export type TodoList = z.infer<ReturnType<typeof TodoListSchema>>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user