Skip to content

Commit

Permalink
fix typo in createReducer.ts (reduxjs#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
evertbouw authored and markerikson committed Nov 22, 2019
1 parent c646304 commit ca5d6cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/createReducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { AnyAction, Action, Reducer } from 'redux'
export type Actions<T extends keyof any = string> = Record<T, Action>

/**
* An *case reducer* is a reducer function for a speficic action type. Case
* An *case reducer* is a reducer function for a specific action type. Case
* reducers can be composed to full reducers using `createReducer()`.
*
* Unlike a normal Redux reducer, a case reducer is never called with an
Expand Down Expand Up @@ -46,7 +46,7 @@ export type CaseReducers<S, AS extends Actions> = {
*
* @param initialState The initial state to be returned by the reducer.
* @param actionsMap A mapping from action types to action-type-specific
* case redeucers.
* case reducers.
*/
export function createReducer<
S,
Expand Down

0 comments on commit ca5d6cf

Please sign in to comment.