UNPKG

@atlaskit/atlassian-navigation

Version:

A horizontal navigation component for Atlassian apps.

11 lines (10 loc) 389 B
/** * Returns a new object with only non-empty properties of the input object. * * In this context, "empty" refers to properties with `null`, `undefined`, or `""` * (empty string) values. * * @param obj - The input object. * @returns A new object with non-empty properties of the input object. */ export declare function stripEmptyProperties<T extends object>(obj: T): Partial<T>;