agiledigital / readonly-types

A collection of readonly TypeScript types inspired by the built-in ReadonlyArray, ReadonlyMap, etc.
MIT License
15 stars 2 forks source link

Stricter DeepReadonly (DeepImmutable?) #517

Closed danielnixon closed 1 year ago

danielnixon commented 1 year ago

The DeepReadonly from ts-essentials is great but has some limitations that we could solve with a stricter version of it:

danielnixon commented 1 year ago

Coming together: https://github.com/agiledigital/readonly-types/blob/master/src/index.ts#L8-L48

danielnixon commented 1 year ago

:shipit: