Alex Mikhalev
7 years ago
2 changed files with 1 additions and 23 deletions
@ -1,22 +0,0 @@
@@ -1,22 +0,0 @@
|
||||
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; |
||||
} |
Loading…
Reference in new issue