@alexandragr/service-favorites
Advanced tools
Comparing version 0.0.1-beta.3 to 0.0.1-beta.4
@@ -6,2 +6,2 @@ export * from './actions'; | ||
export * from './sagas'; | ||
export { default } from './reducer'; | ||
export { favoritesReducer } from './reducer'; |
@@ -6,2 +6,2 @@ export * from './actions'; | ||
export * from './sagas'; | ||
export { default } from './reducer'; | ||
export { favoritesReducer } from './reducer'; |
import { AnyAction } from 'redux'; | ||
import { FavoritesStorageType } from './types'; | ||
export declare const initialState: FavoritesStorageType; | ||
declare const reducer: (state: FavoritesStorageType, { type, payload }: AnyAction) => FavoritesStorageType; | ||
export default reducer; | ||
export declare const favoritesReducer: (state: FavoritesStorageType, { type, payload }: AnyAction) => FavoritesStorageType; |
@@ -16,3 +16,3 @@ var __assign = (this && this.__assign) || function () { | ||
}; | ||
var reducer = function (state, _a) { | ||
export var favoritesReducer = function (state, _a) { | ||
if (state === void 0) { state = initialState; } | ||
@@ -29,2 +29,1 @@ var type = _a.type, payload = _a.payload; | ||
}; | ||
export default reducer; |
{ | ||
"name": "@alexandragr/service-favorites", | ||
"version": "0.0.1-beta.3", | ||
"version": "0.0.1-beta.4", | ||
"author": "mihanizm56", | ||
@@ -5,0 +5,0 @@ "typings": "lib/index.d.ts", |
74930
1457