UNPKG

tgui-angular

Version:

🚀 Angular UI library for Telegram Web Apps with modern components and theming support | 💼 Author is open to work opportunities | 📧 Contact: a.blagovestnov@gmail.com | 💬 Telegram: @ablagovestnov

9 lines (8 loc) • 358 B
/** * Utility function to call multiple event handlers * Similar to the callMultiple function in the React version * * @param handlers List of event handlers to call * @returns A function that calls all handlers with the same arguments */ export declare function callMultiple<T = any>(...handlers: Array<((e: T) => void) | undefined>): (e: T) => void;