diff options
| author | iyegoroff <[email protected]> | 2021-06-23 00:22:49 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-06-22 17:22:49 -0400 |
| commit | 8f439b8ae54d3864c24ddf7205297031d64fbad6 (patch) | |
| tree | 579690447e9aa847f70d527c7ed00b11c409e62f /package.json | |
| parent | 22c5dcba10736aecb1f39ee88d9f85278108c988 (diff) | |
Stronger typing (#114)
* improved typing
* upd readme
* upd readme
* upd test & readme
* removed magic 1
* removed ts-toolbelt dependency
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/package.json b/package.json index 51b5cf8..b34f8e9 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "scripts": { "test": "npm-run-all --silent typecheck lint mocha test-types", "mocha": "mocha test", - "test-types": "tsc test/test-types-compilation.ts --noEmit", + "test-types": "tsc test/test-types-compilation.ts --noEmit --strict", "lint": "eslint src test --ext ts --ext js", "typecheck": "tsc --noEmit", "bundle": "microbundle", @@ -78,7 +78,8 @@ "@typescript-eslint/no-explicit-any": 0, "@typescript-eslint/explicit-function-return-type": 0, "@typescript-eslint/explicit-module-boundary-types": 0, - "@typescript-eslint/no-empty-function": 0 + "@typescript-eslint/no-empty-function": 0, + "@typescript-eslint/no-non-null-assertion": 0 } }, "eslintIgnore": [ @@ -104,6 +105,6 @@ "sinon": "^9.0.2", "sinon-chai": "^3.5.0", "ts-node": "^8.10.2", - "typescript": "^3.9.3" + "typescript": "^3.9.7" } -}
\ No newline at end of file +} |
