Skip to content

Commit

Permalink
fix: rollback to explicit return types for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoVazquez committed May 24, 2023
1 parent d612313 commit 21f3de6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class LumberjackLogBuilder<TPayload extends LumberjackLogPayload | void =
/**
* Add a scope to the log.
*/
withScope(scope: string): this {
withScope(scope: string): LumberjackLogBuilder<TPayload> {
this.scope = scope;

return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class LumberjackLoggerBuilder<TPayload extends LumberjackLogPayload | voi
/**
* Add a scope to the `LumberjackLog`
*/
withScope(scope: string): this {
withScope(scope: string): LumberjackLoggerBuilder<TPayload> {
this.scope = scope;

return this;
Expand Down

0 comments on commit 21f3de6

Please sign in to comment.