diff --git a/src/fieldCheckers/dayOfMonthChecker.ts b/src/fieldCheckers/dayOfMonthChecker.ts index 10b1e65..ecc9c10 100644 --- a/src/fieldCheckers/dayOfMonthChecker.ts +++ b/src/fieldCheckers/dayOfMonthChecker.ts @@ -1,6 +1,8 @@ -import { CronData, Options } from '../index' +import { CronData } from '../index' import { err, valid } from '../result' import checkField from '../helper' +import { doc } from 'prettier' +import { Options } from '../option' const checkDaysOfMonth = (cronData: CronData, options: Options) => { if (!cronData.daysOfMonth) { diff --git a/src/fieldCheckers/dayOfWeekChecker.ts b/src/fieldCheckers/dayOfWeekChecker.ts index 3226a21..ecc457c 100644 --- a/src/fieldCheckers/dayOfWeekChecker.ts +++ b/src/fieldCheckers/dayOfWeekChecker.ts @@ -1,6 +1,7 @@ -import { CronData, Options } from '../index' +import { CronData } from '../index' import { err, valid } from '../result' import checkField from '../helper' +import { Options } from '../option' const checkDaysOfWeek = (cronData: CronData, options: Options) => { if (!cronData.daysOfWeek) { diff --git a/src/fieldCheckers/hourChecker.ts b/src/fieldCheckers/hourChecker.ts index 426d547..2ead316 100644 --- a/src/fieldCheckers/hourChecker.ts +++ b/src/fieldCheckers/hourChecker.ts @@ -1,6 +1,7 @@ -import { CronData, Options } from '../index' +import { CronData } from '../index' import { err, valid } from '../result' import checkField from '../helper' +import { Options } from '../option' const checkHours = (cronData: CronData, options: Options) => { if (!cronData.hours) { diff --git a/src/fieldCheckers/minuteChecker.ts b/src/fieldCheckers/minuteChecker.ts index e9617f5..3c96eb9 100644 --- a/src/fieldCheckers/minuteChecker.ts +++ b/src/fieldCheckers/minuteChecker.ts @@ -1,6 +1,7 @@ -import { CronData, Options } from '../index' +import { CronData } from '../index' import { err, valid } from '../result' import checkField from '../helper' +import { Options } from '../option' const checkMinutes = (cronData: CronData, options: Options) => { if (!cronData.minutes) { diff --git a/src/fieldCheckers/monthChecker.ts b/src/fieldCheckers/monthChecker.ts index 69e0895..6e69218 100644 --- a/src/fieldCheckers/monthChecker.ts +++ b/src/fieldCheckers/monthChecker.ts @@ -1,6 +1,7 @@ -import { CronData, Options } from '../index' +import { CronData } from '../index' import { err, valid } from '../result' import checkField from '../helper' +import { Options } from '../option' const checkMonths = (cronData: CronData, options: Options) => { if (!cronData.months) { diff --git a/src/fieldCheckers/yearChecker.ts b/src/fieldCheckers/yearChecker.ts index 0f2ef63..387577f 100644 --- a/src/fieldCheckers/yearChecker.ts +++ b/src/fieldCheckers/yearChecker.ts @@ -1,6 +1,7 @@ -import { CronData, Options } from '../index' +import { CronData } from '../index' import { err, valid } from '../result' import checkField from '../helper' +import { Options } from '../option' const checkYears = (cronData: CronData, options: Options) => { if (!cronData.years) { diff --git a/src/index.ts b/src/index.ts index 1bbfe73..f66cee3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,8 +6,7 @@ import checkDaysOfMonth from './fieldCheckers/dayOfMonthChecker' import checkMonths from './fieldCheckers/monthChecker' import checkDaysOfWeek from './fieldCheckers/dayOfWeekChecker' import checkYears from './fieldCheckers/yearChecker' -import { defaultOptions, InputOptions, validateOptions } from './option' -import { Options } from '../lib' +import { defaultOptions, InputOptions, Options, validateOptions } from './option' export interface CronData { seconds?: string