Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
null return calls errors (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
GraxMonzo authored and micahgodbolt committed Mar 16, 2019
1 parent bee9647 commit 413cd6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion step1-07/demo/src/TodoApp.types.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 413cd6f

Please sign in to comment.