mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
[pino]: Fix constructor argument stream typing
This commit is contained in:
Vendored
+2
-2
@@ -41,8 +41,8 @@ declare module 'pino' {
|
||||
}
|
||||
|
||||
interface Pino {
|
||||
(optionsOrStream?: LoggerOptions | stream.Writable): Logger
|
||||
(options: LoggerOptions, stream: stream.Writable): Logger
|
||||
(optionsOrStream?: LoggerOptions | stream.Writable | stream.Readable): Logger
|
||||
(options: LoggerOptions, stream: stream.Writable | stream.Readable): Logger
|
||||
levels: {
|
||||
values: LevelLabelsToValues
|
||||
labels: LevelValuesToLabels
|
||||
|
||||
Reference in New Issue
Block a user