Installation
npm install --save @types/omit-empty
Summary
This package contains type definitions for omit-empty (https://github.com/jonschlinkert/omit-empty).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/omit-empty.
index.d.ts
interface OmitOptions {
omitZero?: boolean | undefined;
}
declare function omitEmpty<T extends object>(obj: T, options?: OmitOptions): Partial<T>;
export = omitEmpty;
Additional Details
- Last updated: Fri, 04 Oct 2024 1627 GMT
- Dependencies: none
Credits
These definitions were written by Shubham Kanodia.