UNPKG

rambdax

Version:

Extended version of Rambda - a lightweight, faster alternative to Ramda

16 lines (14 loc) 361 B
import {Depth} from '../Object/_Internal' import {ReadonlyPart} from '../Object/Readonly' import {List} from './List' /** Make `L` readonly (deeply or not) @param L to make readonly @param depth (?=`'flat'`) to do it deeply @returns [[List]] @example ```ts ``` */ export type Readonly<L extends List, depth extends Depth = 'flat'> = ReadonlyPart<L, depth>