filter-obj
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
declare function filterObject<ObjectType extends {[key: string]: unknown}>( | ||
declare function filterObject<ObjectType extends {[key: string]: any}>( | ||
object: ObjectType, | ||
@@ -33,3 +33,3 @@ predicate: ( | ||
declare function filterObject< | ||
ObjectType extends {[key: string]: unknown}, | ||
ObjectType extends {[key: string]: any}, | ||
IncludedKeys extends keyof ObjectType | ||
@@ -36,0 +36,0 @@ >( |
{ | ||
"name": "filter-obj", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Filter object keys and values into a new object", | ||
@@ -33,6 +33,6 @@ "license": "MIT", | ||
"devDependencies": { | ||
"ava": "^1.4.1", | ||
"tsd": "^0.7.2", | ||
"xo": "^0.24.0" | ||
"ava": "^2.4.0", | ||
"tsd": "^0.9.0", | ||
"xo": "^0.25.3" | ||
} | ||
} |
@@ -58,6 +58,1 @@ # filter-obj [![Build Status](https://travis-ci.org/sindresorhus/filter-obj.svg?branch=master)](https://travis-ci.org/sindresorhus/filter-obj) | ||
- [map-obj](https://github.com/sindresorhus/map-obj) - Map object keys and values into a new object | ||
## License | ||
MIT © [Sindre Sorhus](https://sindresorhus.com) |
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
4115
58