source:
node_modules/es-toolkit/src/compat/_internal/RejectReadonly.d.ts
| Last change on this file was a762898, checked in by , 5 months ago | |
|---|---|
|
|
| File size: 199 bytes | |
| Line | |
|---|---|
| 1 | import { IsWritable } from './IsWritable.d.ts'; |
| 2 | import { MutableList } from './MutableList.d.ts'; |
| 3 | |
| 4 | export type RejectReadonly<T extends MutableList<unknown>> = IsWritable<T> extends true ? T : never; |
Note:
See TracBrowser
for help on using the repository browser.
