8000 Fix issues with docs in #1492 · CrazyPython/immutable-js@7ea2223 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7ea2223

Browse files
committed
Fix issues with docs in immutable-js#1492
1 parent 9237d48 commit 7ea2223

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

type-definitions/Immutable.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,14 +1430,14 @@ declare module Immutable {
14301430
readonly size: number;
14311431

14321432
/**
1433-
* Returns a new OrderedMap also containing the new key, value pair. If an equivalent
1434-
* key already exists in this OrderedMap, it will be replaced while maintaining the
1435-
* existing order.
1433+
* Returns a new OrderedMap also containing the new key, value pair. If an
1434+
* equivalent key already exists in this OrderedMap, it will be replaced
1435+
* while maintaining the existing order.
14361436
*
14371437
* <!-- runkit:activate -->
14381438
* ```js
1439-
* const { OrderedMapMap } = require('immutable')
1440-
* const originalMap = Immutable.OrderedMap({a:1, b:1, c:1})
1439+
* const { OrderedMap } = require('immutable')
1440+
* const originalMap = OrderedMap({a:1, b:1, c:1})
14411441
* const updatedMap = originalMap.set('b', 2)
14421442
*
14431443
* originalMap

0 commit comments

Comments
 (0)
0