Closed danielnixon closed 1 year ago
The DeepReadonly from ts-essentials is great but has some limitations that we could solve with a stricter version of it:
Date
ReadonlyDate
ReadonlySet
ReadonlyMap
ImmutableSet
ImmutableMap
URLSearchParams
URL
Coming together: https://github.com/agiledigital/readonly-types/blob/master/src/index.ts#L8-L48
:shipit:
The DeepReadonly from ts-essentials is great but has some limitations that we could solve with a stricter version of it:
Date
alone - we could replace these with ourReadonlyDate
.ReadonlySet
andReadonlyMap
types - we know these aren't truly readonly and could replace them with ourImmutableSet
andImmutableMap
.URLSearchParams
,URL
- we have readonly versions of these to replace them with.