UNPKG

rhodash

Version:

A deadly simple alternative to lodash

9 lines 415 B
import { ObjectOrClassInstance } from './types/object-or-class-instance'; /** * Create an object without the given properties. * * @example omit({ a: 1, b: 2, c: 3 }, ['a', 'b']) // => { c: 3 } */ export declare function omit<T extends ObjectOrClassInstance, K extends keyof T>(// use object instead of Record for instantiated class object: T, keys: readonly K[]): Omit<T, K>; //# sourceMappingURL=omit.d.ts.map