/* * @module 'helpers' * @fileoverview Winston transport helpers * @license MIT * @author Andrei Tretyakov */ export const handleCallback = ( callback: (...args: any) => void, ...args: any ) => { if (callback && typeof callback === 'function') { callback(...args); } };