better-prop-types
Advanced tools
Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2
@@ -0,1 +1,8 @@ | ||
# [1.0.0-alpha.2](https://github.com/ivangabriele/better-prop-types/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2021-11-20) | ||
### Bug Fixes | ||
* update isNotNull & isNullable types ([d783376](https://github.com/ivangabriele/better-prop-types/commit/d783376562926cbc51e2de505c68f40854289298)) | ||
# 1.0.0-alpha.1 (2021-11-20) | ||
@@ -2,0 +9,0 @@ |
import { Requireable, Validator } from 'prop-types'; | ||
export interface Isable<T> extends Requireable<T> { | ||
isNotNull: Validator<NonNullable<T>>; | ||
isNullable: Validator<NonNullable<T>>; | ||
export interface Isable<T> extends Requireable<T | undefined | null> { | ||
isNotNull: Validator<T | undefined>; | ||
isNullable: Validator<T | null>; | ||
} |
{ | ||
"name": "better-prop-types", | ||
"description": "Better PropTypes.", | ||
"version": "1.0.0-alpha.1", | ||
"version": "1.0.0-alpha.2", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "type": "module", |
@@ -61,6 +61,6 @@ # better-prop-types | ||
[img-license]: https://img.shields.io/github/license/ivangabriele/better-prop-types?style=flat-square | ||
[img-npm]: https://img.shields.io/npm/v/@ivangabriele/better-prop-types?style=flat-square | ||
[img-npm]: https://img.shields.io/npm/v/better-prop-types?style=flat-square | ||
[lnk-codecov]: https://codecov.io/gh/ivangabriele/better-prop-types/branch/alpha | ||
[lnk-github]: https://github.com/ivangabriele/better-prop-types/actions?query=branch%3Aalpha++ | ||
[lnk-license]: https://github.com/ivangabriele/better-prop-types/blob/alpha/LICENSE | ||
[lnk-npm]: https://www.npmjs.com/package/@ivangabriele/better-prop-types | ||
[lnk-npm]: https://www.npmjs.com/package/better-prop-types |
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
19588
13