Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nicohrubec committed Jul 5, 2024
1 parent ad796f3 commit 20153ab
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/nestjs/src/cron-decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ import * as Sentry from '@sentry/node';
/**
* A decorator wrapping the native nest Cron decorator, sending check-ins to Sentry.
*/
export const SentryCron = (
cronTime: string | CronExpression,
monitorSlug: string,
): MethodDecorator => {
export const SentryCron = (cronTime: string | CronExpression, monitorSlug: string): MethodDecorator => {
return (target, propertyKey, descriptor: PropertyDescriptor) => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const originalMethod = descriptor.value as (...args: any[]) => Promise<any>;
Expand Down

0 comments on commit 20153ab

Please sign in to comment.