UNPKG

rambdax

Version:

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

14 lines (12 loc) 229 B
import {List} from './List' /** Add an element `A` at the beginning of `L` @param L to append to @param A to be added to @returns [[List]] @example ```ts ``` */ export type Prepend<L extends List, A extends any> = [A, ...L]