UNPKG

rambdax

Version:

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

16 lines (14 loc) 317 B
import {Exclude} from '../Union/Exclude' import {List} from './List' import {Keys as UKeys} from '../Union/Keys' /** Get the keys of a [[List]] @param L @returns [[Key]] @example ```ts ``` */ export type Keys<L extends List> = Exclude<UKeys<L>, keyof any[]> | number // re-include `number`, it's a "own key"