Implement the DeepReadonly<T> utility type that recursively makes every
property (and nested property) of an object type readonly.
Then implement solve(obj) which accepts a DeepReadonly<Config> object
and returns a summary string proving the type is correct at runtime.
Type requirements
ReadonlyArray<DeepReadonly<Item>>.readonly on every property, recursively.The test suite checks the runtime output of solve. The type challenge
is enforced by TypeScript compilation.
Sample tests