Merge pull request #23428 from mattyclarkson/patch-3

object-hash: Add excludeKeys option
This commit is contained in:
Ron Buckton
2018-02-07 15:35:16 -08:00
committed by GitHub

View File

@@ -1,4 +1,4 @@
// Type definitions for object-hash v1.1.8
// Type definitions for object-hash v1.2.0
// Project: https://github.com/puleos/object-hash
// Definitions by: Michael Zabka <https://github.com/misak113>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -18,6 +18,7 @@ declare namespace ObjectHash {
respectFunctionNames?: boolean;
unorderedArrays?: boolean;
unorderedSets?: boolean;
excludeKeys?: (key: string) => boolean;
}
interface HashTableItem {