Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Type Immutable Immer Data with TypeScript


    Because the code put in recipe functions is plain, native, mutable JavaScript code, Immer is naturally suited to be used in conjunction of TypeScript (or Flow).

    In this lesson we will discover how to combine Immer with TypeScript, and how to type our data types both with simple types and with readonly types.