diff --git a/types/chart.js/index.d.ts b/types/chart.js/index.d.ts index 621152162a..83bf5267fd 100644 --- a/types/chart.js/index.d.ts +++ b/types/chart.js/index.d.ts @@ -510,6 +510,7 @@ declare namespace Chart { gridLines?: GridLineOptions; barThickness?: number; scaleLabel?: ScaleTitleOptions; + time?: TimeScale; beforeUpdate?(scale?: any): void; beforeSetDimension?(scale?: any): void; beforeDataLimits?(scale?: any): void; @@ -529,7 +530,6 @@ declare namespace Chart { interface ChartXAxe extends CommonAxe { categoryPercentage?: number; barPercentage?: number; - time?: TimeScale; } // tslint:disable-next-line no-empty-interface