Skip to content
Medium
Mapped types

Mapped readonly

Write DeepReadonly<T> that makes all properties (and nested objects) readonly.

Solution

Loading...
Run your code to see output and diagnostics.

Built by Antigravity. The source code is available on GitHub.