+
Todo App
+
+
+
+
+ setInput(e.target.value)}
+ placeholder="Add a todo..."
+ />
+
+
+ {filteredTodos().map(todo => (
+
+ ))}
+
+ );
+};
+
+export default TodoApp;
\ No newline at end of file
diff --git a/tests/codeblocks/typescript/todo_merged.tsx b/tests/codeblocks/typescript/todo_merged.tsx
new file mode 100644
index 00000000..60984a5b
--- /dev/null
+++ b/tests/codeblocks/typescript/todo_merged.tsx
@@ -0,0 +1,107 @@
+import React, { useState } from 'react';
+
+interface Todo {
+ id: number;
+ text: string;
+ done: boolean;
+}
+
+interface TodoProps {
+ todo: Todo;
+ onDelete: (id: number) => void;
+ onToggle: (id: number) => void;
+}
+
+const TodoItem: React.FC