All files / src/utils bindFns.ts

50% Statements 2/4
0% Branches 0/2
33.33% Functions 1/3
50% Lines 1/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4194x      
export const bindFns = (...fns: Array<Function>) => (...args: any) => {
  fns.forEach(fn => fn && fn(...args));
};