diff --git a/package.json b/package.json index c012065c..e8fc4e72 100755 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "lint:types": "dtslint types/", "mocha": "mocha --opts mocha.opts", "coverage": "istanbul cover node_modules/mocha/bin/_mocha -- --opts mocha.opts", - "test": "npm run lint && npm run coverage" + "test": "npm run lint && npm run lint:types && npm run coverage" }, "semistandard": { "env": [ diff --git a/types/tests.ts b/types/tests.ts index 3d592c52..cad50f38 100644 --- a/types/tests.ts +++ b/types/tests.ts @@ -88,7 +88,6 @@ actOnDefault(hook1, hook2, hook3, hook4); // $ExpectType Hook actOnDispatch(hook1, hook2, hook3, hook4); - // $ExpectType Hook alterItems(rec => { delete rec.password;