Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isList, isMap, isOrderedList, isOrderedMap e.t.c. are not exported #1740

Closed
GolubevS opened this issue Oct 6, 2019 · 2 comments · Fixed by immutable-js-oss/immutable-js#20 or #1833
Labels
Milestone

Comments

@GolubevS
Copy link

GolubevS commented Oct 6, 2019

What happened

isList, isMap, isOrderedList, isOrderedMap e.t.c. are not exported from immutable.es.js

How to reproduce

import {Map, isOrderedMap} from 'immutable';
console.log(isOrderedMap(Map({b:1,a:2}).sort()));

Result:

export 'isOrderedMap' was not found in 'immutable'

@toshipon
Copy link

toshipon commented Jun 2, 2020

it should be like this ?

import {Map, OrderedMap} from 'immutable';
console.log(OrderedMap.isOrderedMap(Map({b:1,a:2}).sort()));

@jdeniau
Copy link
Member

jdeniau commented Jun 29, 2021

Thank you for your bug report. The immutable-js oss fork will soon be merged and a fix for this issue has been included in #1833. Once this PR is merged, this issue will be resolved in the main branch. We will then do our best to to release the 4.0.0 version.

Commit reference: b86aebd

@jdeniau jdeniau linked a pull request Jun 29, 2021 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment