Skip to content

Commit

Permalink
Work around for reducers typing problem (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
huan committed May 30, 2020
1 parent 7e6f2c0 commit 3474fa2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/counter/actions.ts
Expand Up @@ -23,7 +23,9 @@ import * as types from './types'
const prepareTimes = (times = 1) => ({ times })

const tap = createAction(types.TAP, prepareTimes)()
const noop = createAction(types.NOOP)()

export {
noop,
tap,
}
2 changes: 2 additions & 0 deletions examples/counter/types.ts
Expand Up @@ -17,7 +17,9 @@
*
*/
const TAP = 'ducks/examples/counter/TAP'
const NOOP = 'ducks/examples/counter/NOOP'

export {
NOOP,
TAP,
}

0 comments on commit 3474fa2

Please sign in to comment.