diff --git a/README.md b/README.md index 8e7403e..bb869e0 100644 --- a/README.md +++ b/README.md @@ -194,7 +194,8 @@ Mutates the reducer such that it applies `handler` when passed actions matching Like `.case()`, except that `handler` receives the entire action as its second argument rather than just the payload. This is useful if you want to read other properties of the action, such as -`meta` or `error`. For an example, see [Usage](#usage). +`meta` or `error`, or if you want to pass the entire action unmodified to some other function. For +an example, see [Usage](#usage). #### `.build()` diff --git a/package.json b/package.json index 355ade5..bda3f0a 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "lint": "tslint --project .", "prepublish": "yarn run build", "test": "yarn run lint && tsc --noEmit && yarn run jest", - "watch": "yarn run clean && tsc --watch --sourceMap" + "watch": "yarn run clean && tsc --watch" }, "devDependencies": { "@types/jest": "^16.0.4", diff --git a/tsconfig.json b/tsconfig.json index d2dac86..f131203 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "declaration": true, + "inlineSources": true, "module": "commonjs", "noFallthroughCasesInSwitch": true, "noImplicitAny": true, @@ -10,6 +11,7 @@ "noUnusedParameters": true, "outDir": "dist/", "skipLibCheck": true, + "sourceMap": true, "strictNullChecks": true, "target": "es5" },