timezone -> timeZone for 'cron'.

This commit is contained in:
Daniel Rosenwasser
2015-07-30 13:19:16 -07:00
parent b5f460b126
commit 5e18c0b641

4
cron/cron.d.ts vendored
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 {