Explorar el Código

Typo; .withMiddlewares actually exported.

Herby Vojčík hace 6 años
padre
commit
f1a710da28
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      index.js

+ 2 - 2
index.js

@@ -35,7 +35,7 @@ export default () => {
         return this;
     }
 
-    function withMIddlewares (..._middlewares) {
+    function withMiddlewares (..._middlewares) {
         middlewares.push(..._middlewares);
         return this;
     }
@@ -59,5 +59,5 @@ export default () => {
         return store;
     }
 
-    return {withReducers, withEffects, withPersistence, on, create};
+    return {withReducers, withMiddlewares, withEffects, withPersistence, on, create};
 }