Skip to content

Commit

Permalink
style: fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerlox committed Oct 11, 2023
1 parent da7e9c7 commit c1b9cb4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/time.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@ export class CronTime {
private dayOfWeek: TimeUnitField<'dayOfWeek'> = {};

constructor(
source: CronJobParams<null>['cronTime'],
timeZone?: CronJobParams<null>['timeZone'],
source: CronJobParams['cronTime'],
timeZone?: CronJobParams['timeZone'],
utcOffset?: null
);
constructor(
source: CronJobParams<null>['cronTime'],
source: CronJobParams['cronTime'],
timeZone?: null,
utcOffset?: CronJobParams<null>['utcOffset']
utcOffset?: CronJobParams['utcOffset']
);
constructor(
source: CronJobParams<null>['cronTime'],
timeZone?: CronJobParams<null>['timeZone'],
utcOffset?: CronJobParams<null>['utcOffset']
source: CronJobParams['cronTime'],
timeZone?: CronJobParams['timeZone'],
utcOffset?: CronJobParams['utcOffset']
) {
// runtime check for JS users
if (timeZone != null && utcOffset != null) {
Expand Down

0 comments on commit c1b9cb4

Please sign in to comment.