Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(@angular-devkit/core): add DeepReadonly<> and Readwrite<> types
Readwrite removes readonly, while DeepReadonly recursively sets it. A ReadonlyArray should be used if the type is an array, but that is too much of a change to our API (JsonValue includes JsonArray but then we would need a ReadonlyJsonValue, and same for object, which has deep roots in our API). We should fix this in a further refactor at some point.
- Loading branch information
Is this meant to be
ReadWrite
(uppercaseW
)?