mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
null return calls errors (#115)
This commit is contained in:
committed by
Micah Godbolt
parent
bee9647d85
commit
413cd6f049
@@ -1,6 +1,6 @@
|
||||
export type FilterTypes = 'all' | 'active' | 'completed';
|
||||
|
||||
export type CompleteTodo = (id) => null;
|
||||
export type CompleteTodo = (id) => void;
|
||||
|
||||
export interface TodoItem {
|
||||
label: string;
|
||||
|
||||
Reference in New Issue
Block a user