Type-safe Immutable Record
A strongly typed immutable-js record interface.
This interface was strongly inspired by typed-immutable-record, but
restricts the interface, allowing only methods that can play nicely with
TypeScript's interface system. So far the only method on the interface is
merge
. If you want to add more methods, open an issue and start a discussion
so that we can make sure to keep this interface as safe as possible.
Usage
This package contains only two things. An interface which should be extended
from a specific way describe below, and a wrapper around Immutable.Record
that usses the interface.
person.age === 47 alias.name === 'Rusty Shackleford'