pixi.js
Version:
<p align="center"> <a href="https://pixijs.com" target="_blank" rel="noopener noreferrer"> <img height="150" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1" alt="PixiJS logo"> </a> </p> <br/> <p align="center">
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.
* @category utils
* @ignore
*/
export declare function definedProps<T extends Record<string, any>>(obj: T): T;