Skip to content

Commit

Permalink
Type guards, not type predicates
Browse files Browse the repository at this point in the history
  • Loading branch information
pelotom authored Apr 13, 2018
1 parent b8e8cac commit 3d3e523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const action = Action.ADD_TODO({ id: 'c819bbc1', text: 'Take out the trash' });
const id = getIdFromAction(action); // id === 'c819bbc1'
```

#### Type predicates
#### Type guards

```ts
const epic = (action$: Observable<Action>) => action$
Expand Down

0 comments on commit 3d3e523

Please sign in to comment.