// Type definitions for p-log 1.0 // Project: https://github.com/sindresorhus/p-log#readme // Definitions by: BendingBender // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export = pLog; declare const pLog: pLog; interface pLog { (): (value: T) => Promise; catch(): (value: any) => Promise; }