You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
446 B

declare module "pino/pretty" {
import { Transform } from "stream";
interface Formatter {
(value: any): string;
}
interface PrettyOptions {
timeTransOnly?: boolean;
formatter?: Formatter;
levelFirst?: boolean;
messageKey?: string;
forceColor?: boolean;
}
interface Pretty {
(opts: PrettyOptions): Transform;
}
const pretty: Pretty;
export = pretty;
}