timezone -> timeZone for 'cron'.

This commit is contained in:
Daniel Rosenwasser committed 2015-07-30 13:19:16 -07:00
1 parent b5f460b126
commit 5e18c0b641
1 file changed
+2 -2
+2 -2
View File
@@ -6,9 +6,9 @@
declare module "cron" {
interface CronJobStatic {
new(cronTime: string|Date, onTick: () => void, onComplete?: () => void, start?: boolean, timezone?: string, context?: any): CronJob;
new(cronTime: string|Date, onTick: () => void, onComplete?: () => void, start?: boolean, timeZone?: string, context?: any): CronJob;
new(options: {
cronTime: string|Date; onTick: () => void; onComplete?: () => void; start?: boolean; timezone?: string; context?: any
cronTime: string|Date; onTick: () => void; onComplete?: () => void; start?: boolean; timeZone?: string; context?: any
}): CronJob;
}
interface CronJob {