mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
12 lines
309 B
TypeScript
12 lines
309 B
TypeScript
/**
|
|
* Safe chained function
|
|
*
|
|
* Will only create a new function if needed,
|
|
* otherwise will pass back existing functions or null.
|
|
*
|
|
* @param {function} functions to chain
|
|
* @returns {function|null}
|
|
*/
|
|
declare function createChainedFunction(...funcs: any[]): any;
|
|
export default createChainedFunction;
|