main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
451 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | import { Depth } from '../Object/_Internal';
|
---|
| 2 | import { WritablePart } from '../Object/Writable';
|
---|
| 3 | import { List } from './List';
|
---|
| 4 | import { Cast } from '../Any/Cast';
|
---|
| 5 | /**
|
---|
| 6 | * Make `L` writable (deeply or not)
|
---|
| 7 | * @param L to make writable
|
---|
| 8 | * @param depth (?=`'flat'`) 'deep' to do it deeply
|
---|
| 9 | * @returns [[List]]
|
---|
| 10 | * @example
|
---|
| 11 | * ```ts
|
---|
| 12 | * ```
|
---|
| 13 | */
|
---|
| 14 | export declare type Writable<L extends List, depth extends Depth = 'flat'> = Cast<WritablePart<L, depth>, List>;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.