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

Concat immutable array in typescript #214

Open
ricksecretin opened this issue Apr 16, 2017 · 0 comments
Open

Concat immutable array in typescript #214

ricksecretin opened this issue Apr 16, 2017 · 0 comments

Comments

@ricksecretin
Copy link

How can I concat 2 arrays or push an item to an immutable array with typescript?

I tried with: Immutable.from([1, 2]).concat([2]) but I get the following error:
"Property 'concat' does not exist on type ImmutableArray"

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

No branches or pull requests

1 participant