Comparing version 0.3.0 to 0.3.1
# aint | ||
## 0.3.1 | ||
### Patch Changes | ||
- 7562be4: Fix typos in README.md | ||
## 0.3.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "aint", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "A collection of common runtime predicates that TypeScript actually understands.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -38,5 +38,5 @@ # aint | ||
- [isNotEmptyArray](./lib/isNotEmptyArray.ts) | ||
- [isNotEmptyString](./lib/isNotEmptyArray.ts) | ||
- [isNotNull](./lib/isNotEmptyArray.ts) | ||
- [isNotUndefined](./lib/isNotEmptyArray.ts) | ||
- [isNotEmptyString](./lib/isNotEmptyString.ts) | ||
- [isNotNull](./lib/isNotNull.ts) | ||
- [isNotUndefined](./lib/isNotUndefined.ts) | ||
@@ -53,3 +53,3 @@ ## Motivation | ||
However, TypeScript will NOT _infer_ the correct type [[playground link](https://www.typescriptlang.org/play?#code/MYewdgzgLgBAhgJwXAnjAvDA2gRgDQwBMBYArgDbkC6AdAGYCW5UApggBQBCII5LcYAJQBuIA)]. It will _understand_ the type of array as being `Array<null | number>` instead of `Array<null>`. | ||
However, TypeScript will NOT _infer_ the correct type [[playground link](https://www.typescriptlang.org/play?#code/MYewdgzgLgBAhgJwXAnjAvDA2gRgDQwBMBYArgDbkC6AdAGYCW5UApggBQBCII5LcYAJQBuIA)]. It will _understand_ the type of array as being `Array<null | number>` instead of `Array<number>`. | ||
@@ -56,0 +56,0 @@ `aint` provides a simple API to test for predicates, while making TypeScript _understand_. |
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
9667