https://github.com/whisklabs/deep-readonly
Typescript deep-readonly interface
https://github.com/whisklabs/deep-readonly
Last synced: about 1 month ago
JSON representation
Typescript deep-readonly interface
- Host: GitHub
- URL: https://github.com/whisklabs/deep-readonly
- Owner: whisklabs
- License: mit
- Created: 2020-09-10T15:44:50.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-14T19:54:29.000Z (about 5 years ago)
- Last Synced: 2025-08-09T00:20:14.510Z (2 months ago)
- Language: JavaScript
- Size: 48.8 KB
- Stars: 1
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Deep-readonly
Recursive readonly generic
## Install
```bash
npm i @whisklabs/deep-readonly
```## Usage
```ts
import { DeepReadonly, DeepReadonlyObject, DeepReadonlyArray } from '@whisklabs/deep-readonly';type readOnlyObj = DeepReadonly<{ ... }>;
```