fix indentation

This commit is contained in:
Jack Hsu
2015-09-15 02:03:30 -04:00
parent 00fee00fb4
commit f06106d28c
+2 -2
View File
@@ -16,7 +16,7 @@ const incrementAction: (...args: any[]) => ReduxActions.Action = ReduxActions.cr
);
const action: ReduxActions.Action = incrementAction(42);
const incrementByAction: (...args: any[]) => ReduxActions.Action = ReduxActions.createAction<number>(
const incrementByAction: (...args: any[]) => ReduxActions.Action = ReduxActions.createAction<number>(
'INCREMENT_BY',
(amount: number) => amount,
amount => ({ remote: true })
@@ -30,7 +30,6 @@ const actionHandler = ReduxActions.handleAction<number>(
);
state = actionHandler(0, { type: 'INCREMENT' });
const actionHandlerWithReduceMap = ReduxActions.handleAction<number>(
'INCREMENT_BY', {
next(state: number, action: ReduxActions.Action) {
@@ -54,3 +53,4 @@ const actionsHandlerWithInitialState = ReduxActions.handleActions<number>({
state = actionsHandlerWithInitialState(0, { type: 'INCREMENT' });