Skip to content

A set of functional helpers to assist with type checking with Immutable.js and TypeScript

License

Notifications You must be signed in to change notification settings

kjr247/immutablejs-type-helpers

Repository files navigation

immutablejs-type-helpers

Delightfully sweet helpers for ImmutableJs.

A set of functional helpers to assist with type checking, getting, defaulting, etc. with Immutable.js and TypeScript

Motivation

Ever .toJS() something because you aren't sure of what you are dealing with? This is so common for new comers and vets alike. But just one gotcha just to start us off is well if your data was a List or a Set you get an array... no matter what... in the end you pour your time over the docs and realize they offer some types and some type checking methods, but perhaps you expected some value to exist and be a valid immutable type and allow a default. These utils stream line all of these things saving you time, frustraion, and confusion.

About

A set of functional helpers to assist with type checking with Immutable.js and TypeScript

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published