expect-type
Advanced tools
Comparing version 0.14.0 to 0.14.1
{ | ||
"name": "expect-type", | ||
"version": "0.14.0", | ||
"version": "0.14.1", | ||
"keywords": [ | ||
@@ -26,12 +26,15 @@ "typescript", | ||
"scripts": { | ||
"eslint": "eslint --ext '.ts,.js'", | ||
"eslint": "eslint --ext '.ts,.js,.md'", | ||
"lint": "tsc && eslint .", | ||
"build": "tsc -p tsconfig.lib.json", | ||
"test": "tsc" | ||
"test": "jest" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "29.0.0", | ||
"eslint": "8.23.0", | ||
"eslint-plugin-mmkal": "0.0.1-2", | ||
"jest": "28.1.3", | ||
"ts-jest": "28.0.8", | ||
"typescript": "4.8.2" | ||
} | ||
} |
# expect-type | ||
[![CI](https://github.com/mmkal/expect-type/actions/workflows/ci.yml/badge.svg)](https://github.com/mmkal/expect-type/actions/workflows/ci.yml) | ||
[![](https://byob.yarr.is/mmkal/expect-type/coverage)](https://github.com/mmkal/expect-type/actions/workflows/ci.yml) | ||
Compile-time tests for types. Useful to make sure types don't regress into being overly-permissive as changes go in over time. | ||
@@ -427,2 +430,3 @@ | ||
- inverting assertions intuitively and easily via `expectTypeOf(...).not` | ||
- checks generics properly and strictly ([tsd doesn't](https://github.com/SamVerschueren/tsd/issues/142)) | ||
- first-class support for: | ||
@@ -429,0 +433,0 @@ - `any` (as well as `unknown` and `never`) (see issues outstanding at time of writing in tsd for [never](https://github.com/SamVerschueren/tsd/issues/78) and [any](https://github.com/SamVerschueren/tsd/issues/82)). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35576
444
6