Skip to content

Commit a81643f

Browse files
committed
hasIn does not take a notSetValue
hasIn(searchKeyPath) { return this.getIn(searchKeyPath, NOT_SET) !== NOT_SET; },
1 parent bcd51c0 commit a81643f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

type-definitions/Immutable.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1434,8 +1434,8 @@ declare module 'immutable' {
14341434
* True if the result of following a path of keys or indices through nested
14351435
* Iterables results in a set value.
14361436
*/
1437-
hasIn(searchKeyPath: Array<any>, notSetValue?: any): boolean;
1438-
hasIn(searchKeyPath: Iterable<any, any>, notSetValue?: any): boolean;
1437+
hasIn(searchKeyPath: Array<any>): boolean;
1438+
hasIn(searchKeyPath: Iterable<any, any>): boolean;
14391439

14401440

14411441
// Conversion to JavaScript types

0 commit comments

Comments
 (0)