ts-toolbelt
Version:
TypeScript's largest utility library
13 lines (12 loc) • 330 B
TypeScript
import { OptionalKeys as OOptionalKeys } from '../Object/OptionalKeys';
import { ObjectOf } from './ObjectOf';
import { List } from './List';
/**
* Get the keys of `L` that are optional
* @param L
* @returns [[Key]]
* @example
* ```ts
* ```
*/
export declare type OptionalKeys<L extends List> = OOptionalKeys<ObjectOf<L>>;