Skip to content

Commit

Permalink
fix: Export FastifyBaseLogger as interface instead of type alias (#4681)
Browse files Browse the repository at this point in the history
Co-authored-by: Frazer Smith <frazer.dev@outlook.com>
  • Loading branch information
tzafrirben and Fdawgs committed Apr 25, 2023
1 parent c035a18 commit 3ef63af
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 3ef63af

Please sign in to comment.