mostly finished rewrite
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* 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;
|
||||
Reference in New Issue
Block a user