11 lines
348 B
TypeScript
11 lines
348 B
TypeScript
/**
|
|
* Omit properties from input object. Accepts any number of properties to
|
|
* remove. Example:
|
|
*
|
|
* ```ts
|
|
* omit(myObject, "if", "dependencies");
|
|
* ```
|
|
*
|
|
* @returns shallow copy of input object without specified properties
|
|
*/
|
|
export declare function omit(object: Record<string, unknown>, ...keysToOmit: string[]): Record<string, unknown>;
|