type CallbackType = (...args: any[]) => any; /** * Pushes a function call onto a list. The list of saved calls is executed after the surrounding function returns. * This is is commonly used to simplify functions that perform various clean-up actions. * * @summary ensure that a function call is performed later in a program’s execution. */ declare function defer(fn: CallbackType): CallbackType; export default defer;