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

Immutable.Map and Immutable.Ordered.Map from { [p: string]: T }[] #1885

Open
antonkulaga opened this issue Oct 23, 2021 · 1 comment
Open

Comments

@antonkulaga
Copy link

antonkulaga commented Oct 23, 2021

I cannot get Maps and order maps from the array of indexables { [p: string]: number }[] , { [p: string]: string }[] and similar types in typescript, so I have to squash array of indexable into Object.assign({}, ...arr) to apply OrderedMap to it.
It looks very weird as this is supposed to be map.

@jdeniau
Copy link
Member

jdeniau commented Oct 24, 2021

Can you please provide a reproducible example of your bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants