Skip to content

Commit

Permalink
fix: Add info to express error handler logger type (#1557)
Browse files Browse the repository at this point in the history
  • Loading branch information
vonagam authored and daffl committed Sep 16, 2019
1 parent 2b258fd commit 3e1d26c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/express/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ interface FeathersExpress extends Express {

errorHandler (options?: {
public?: string,
logger?: { error?: (msg: string) => void | null },
logger?: { error: (msg: any) => void, info: (msg: any) => void },
html?: any,
json?: any
}): express.ErrorRequestHandler;
Expand Down

0 comments on commit 3e1d26c

Please sign in to comment.