npm.io
1.0.4 • Published 1 year ago

@types/omit-empty

Licence
MIT
Version
1.0.4
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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.