Skip to content

Commit 955f889

Browse files
committed
fix(types): allow void return from getLogFields
1 parent 25de907 commit 955f889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export interface Service<
101101
getLogFields?(
102102
req: RequestWithApp<SLocals>,
103103
values: Record<string, string | string[] | number | undefined>,
104-
): string | undefined;
104+
): string | undefined | void;
105105

106106
// The repl is a useful tool for diagnosing issues in non-dev environments.
107107
// The attachRepl method provides a way to add custom functionality

0 commit comments

Comments
 (0)