/deep-readonly

Typescript deep-readonly interface

Primary LanguageJavaScriptMIT LicenseMIT

Deep-readonly

Recursive readonly generic

Install

npm i @whisklabs/deep-readonly

Usage

import { DeepReadonly, DeepReadonlyObject, DeepReadonlyArray } from '@whisklabs/deep-readonly';

type readOnlyObj = DeepReadonly<{ ... }>;