Skip to content

Commit

Permalink
Fix Profiler done() method typing (#1440)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankie567 authored and DABH committed Aug 20, 2018
1 parent cf424be commit e41fe97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ declare namespace winston {
interface Profiler {
logger: Logger;
start: Date;
done(): boolean;
done(info?: any): boolean;
}

type LogCallback = (error?: any, level?: string, message?: string, meta?: any) => void;
Expand Down

0 comments on commit e41fe97

Please sign in to comment.