UNPKG

rambdax

Version:

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

19 lines (17 loc) 569 B
import {ExcludeKeys as OExcludeKeys} from '../Object/ExcludeKeys' import {Match} from '../Any/_Internal' import {ObjectOf} from './ObjectOf' import {List} from './List' /** Exclude the keys of `L1` out of the keys of `L` (If `match = 'default'`, no type checks are done) @param L to remove the keys from @param L1 to remove the keys out @param match (?=`'default'`) to change precision @returns [[Key]] @example ```ts ``` */ export type ExcludeKeys<L extends List, L1 extends List, match extends Match = 'default'> = OExcludeKeys<ObjectOf<L>, ObjectOf<L1>, match>