Skip to content

Commit

Permalink
fix: remove invalid type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Aug 16, 2018
1 parent 9010ba3 commit 69fc4c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/factories/createLogger.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const createLogger = (onMessage: OnMessageEventHandlerType, parentContext?: Mess

for (const logLevel of Object.keys(logLevels)) {
// eslint-disable-next-line id-length
log[logLevel] = (a, b, c, d, e, f, g, h, i, k): LoggerType => {
log[logLevel] = (a, b, c, d, e, f, g, h, i, k) => {
return log.child({
logLevel: logLevels[logLevel]
})(a, b, c, d, e, f, g, h, i, k);
Expand Down

0 comments on commit 69fc4c0

Please sign in to comment.