Skip to content

Commit

Permalink
Export FastifyBaseLogger as interface instead of type alias
Browse files Browse the repository at this point in the history
  • Loading branch information
tzafrirben committed Apr 14, 2023
1 parent 662706b commit d9440dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/logger.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export type Bindings = pino.Bindings

export type ChildLoggerOptions = pino.ChildLoggerOptions

export type FastifyBaseLogger = pino.BaseLogger & {
export interface FastifyBaseLogger extends pino.BaseLogger {
child(bindings: Bindings, options?: ChildLoggerOptions): FastifyBaseLogger
}

Expand Down

0 comments on commit d9440dc

Please sign in to comment.