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 Js in Typescript #1759

Open
prasadtechnology opened this issue Feb 6, 2020 · 1 comment
Open

Immutable Js in Typescript #1759

prasadtechnology opened this issue Feb 6, 2020 · 1 comment

Comments

@prasadtechnology
Copy link

Hi,

We have react application, which is used immutable js. Now i am converting to typescript. I didn't find any proper document with examples how immutable js works with typescript. Can any one provide the document with examples or reference links. Most of the functions we are using like getIn,setIn,update,set etc. How can i use these in typescript without using any keyword.

@johnjeng
Copy link

johnjeng commented Feb 6, 2020

Hi @prasadtechnology, it takes some work to use getIn and setIn without having it return an any type. See this thread for some ideas.

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

3 participants