pixi.js
Version:
PixiJS — The HTML5 Creation Engine =============
10 lines (9 loc) • 382 B
TypeScript
/**
* Returns a new object with all properties from the input object that have defined values.
* @template T - The type of the input object.
* @param {T} obj - The input object.
* @returns {T} - A new object with only the defined properties from the input object.
* @memberof utils
* @ignore
*/
export declare function definedProps<T extends Record<string, any>>(obj: T): T;