8000 Fix minor docs typos for Immutable.merge and Immutable.mergeWith (#1422) · CrazyPython/immutable-js@7295c5f · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 7295c5f

Browse files
bdrobinsonkozlitinaelja
authored andcommitted
Fix minor docs typos for Immutable.merge and Immutable.mergeWith (immutable-js#1422)
1 parent ba16b26 commit 7295c5f

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
@@ -5132,7 +5132,7 @@ declare module Immutable {
51325132
* const { merge } = require('immutable')
51335133
* const original = { x: 123, y: 456 }
51345134
* merge(original, { y: 789, z: 'abc' }) // { x: 123, y: 789, z: 'abc' }
5135-
* console.log(original) // { x: { y: { z: 123 }}}
5135+
* console.log(original) // { x: 123, y: 456 }
51365136
* ```
51375137
*/
51385138
export function merge<C>(
@@ -5156,7 +5156,7 @@ declare module Immutable {
51565156
* original,
51575157
* { y: 789, z: 'abc' }
51585158
* ) // { x: 123, y: 1245, z: 'abc' }
5159-
* console.log(original) // { x: { y: { z: 123 }}}
5159+
* console.log(original) // { x: 123, y: 456 }
51605160
* ```
51615161
*/
51625162
export function mergeWith<C>(

0 commit comments

Comments
 (0)
0