UNPKG

load-config-file

Version:

Load the config file as a plain object. The config file format can be registered.

4 lines (2 loc) 152 B
export type CallBackFn = (error: Error, result: any) => void; export function callbackify<T = any>(promise: Promise<T>, done: CallBackFn): Promise<T>;