Initial commit
This commit is contained in:
commit
b344a74a72
45 changed files with 1232 additions and 0 deletions
12
database/todoItems.ts
Normal file
12
database/todoItems.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
type TodoItem = { text: string };
|
||||
const todoItems: TodoItem[] = [];
|
||||
init();
|
||||
|
||||
// Initial data
|
||||
function init() {
|
||||
todoItems.push({ text: "Buy milk" });
|
||||
todoItems.push({ text: "Buy strawberries" });
|
||||
}
|
||||
|
||||
export { todoItems };
|
||||
export type { TodoItem };
|
Loading…
Add table
Add a link
Reference in a new issue