UNPKG

rambda

Version:

Lightweight faster alternative to Ramda

14 lines (12 loc) 325 B
import {RequiredKeys as ORequiredKeys} from '../Object/RequiredKeys' import {ObjectOf} from './ObjectOf' import {Tuple} from './Tuple' /** Get the keys of **`T`** that are readonly * @param T * @returns **`keyof`** * @example * ```ts * ``` */ export type RequiredKeys<T extends Tuple> = ORequiredKeys<ObjectOf<T>>