null return calls errors (#115)

This commit is contained in:
Bekzat Samatov
2019-03-17 04:24:08 +06:00
committed by Micah Godbolt
parent bee9647d85
commit 413cd6f049

View File

@@ -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;