Skip to content

Commit e3f474b

Browse files
author
Travis CI
committed
Deploy 9237d48 to NPM branch
1 parent e1f226d commit e3f474b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dist/immutable-nonambient.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2452,7 +2452,8 @@
24522452
* notSetValue will be returned if provided. Note that this scenario would
24532453
* produce an error when using Flow or TypeScript.
24542454
*/
2455-
get<K extends keyof TProps>(key: K, notSetValue: any): TProps[K];
2455+
get<K extends keyof TProps>(key: K, notSetValue?: any): TProps[K];
2456+
get<T>(key: string, notSetValue: T): T;
24562457

24572458
// Reading deep values
24582459

dist/immutable.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2452,7 +2452,8 @@ declare module Immutable {
24522452
* notSetValue will be returned if provided. Note that this scenario would
24532453
* produce an error when using Flow or TypeScript.
24542454
*/
2455-
get<K extends keyof TProps>(key: K, notSetValue: any): TProps[K];
2455+
get<K extends keyof TProps>(key: K, notSetValue?: any): TProps[K];
2456+
get<T>(key: string, notSetValue: T): T;
24562457

24572458
// Reading deep values
24582459

0 commit comments

Comments
 (0)