Skip to content

Commit

Permalink
update typescript definition
Browse files Browse the repository at this point in the history
  • Loading branch information
ric2b committed Aug 12, 2021
1 parent 861e0f1 commit 636eb96
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
created_at: Date;
text: string;
done: boolean;
pending_delete: boolean;
};
export let todos: Todo[];
Expand Down Expand Up @@ -111,7 +112,7 @@
}
}}
>
<button class="delete" aria-label="Delete todo" disabled={!!todo.pending_delete} />
<button class="delete" aria-label="Delete todo" disabled={todo.pending_delete} />
</form>
</div>
{/each}
Expand Down

0 comments on commit 636eb96

Please sign in to comment.