Skip to content

Commit

Permalink
chore: exclude non-null rule in decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
saragerion committed Jun 21, 2022
1 parent 6bf1b70 commit bed5434
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/logger/src/Logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,8 @@ class Logger extends Utility implements ClassThatLogs {
}

this.addContext(context);


/* eslint-disable @typescript-eslint/no-non-null-assertion */
const result = originalMethod!.apply(target, [ event, context, callback ]);

if (isClearStateEnabled) {
Expand Down

0 comments on commit bed5434

Please sign in to comment.