We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adb0435 commit 46bfbbcCopy full SHA for 46bfbbc
src/utils/validation.ts
@@ -1,11 +1,6 @@
1
import { TodoItem } from "../types/todo.js";
2
3
const validation = {
4
- newTarget(target) {
5
- if (!target) {
6
- throw new Error("You must use new keyword");
7
- }
8
- },
9
state(todoList: TodoItem[]) {
10
return todoList.filter(
11
(todo) =>
0 commit comments