Skip to content

Commit a08c2d6

Browse files
theo-matzavinosleebyron
authored andcommitted
fix(typescript-definitions): typos (immutable-js#1354)
1 parent 1c863bd commit a08c2d6

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
@@ -792,7 +792,7 @@ declare module Immutable {
792792
* @alias merge
793793
*/
794794
concat<C>(...valuesOrCollections: Array<Iterable<C> | C>): List<T | C>;
795-
merge<C>(...collections: Array<Iterable<C>): List<T | C>;
795+
merge<C>(...collections: Array<Iterable<C>>): List<T | C>;
796796

797797
/**
798798
* Returns a new List with values passed through a
@@ -2511,7 +2511,7 @@ declare module Immutable {
25112511
new (values?: Partial<TProps> | Iterable<[string, any]>): Record<TProps> & Readonly<TProps>;
25122512
}
25132513

2514-
export function Factory(values?: Partial<TProps> | Iterable<[string, any]>): Record<TProps> & Readonly<TProps>;
2514+
export function Factory<TProps extends Object>(values?: Partial<TProps> | Iterable<[string, any]>): Record<TProps> & Readonly<TProps>;
25152515
}
25162516

25172517
/**

0 commit comments

Comments
 (0)