mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 04:01:52 +00:00
Update time scale options
- add `minUnit` option - change `round` option to only accept TimeUnits - remove deprecated `format` option
This commit is contained in:
Vendored
+2
-2
@@ -410,16 +410,16 @@ declare namespace Chart {
|
||||
}
|
||||
|
||||
export interface TimeScale extends ChartScales {
|
||||
format?: string;
|
||||
displayFormats?: TimeDisplayFormat;
|
||||
isoWeekday?: boolean;
|
||||
max?: string;
|
||||
min?: string;
|
||||
parser?: string | ((arg: any) => any);
|
||||
round?: string;
|
||||
round?: TimeUnit;
|
||||
tooltipFormat?: string;
|
||||
unit?: TimeUnit;
|
||||
unitStepSize?: number;
|
||||
minUnit?: TimeUnit;
|
||||
}
|
||||
|
||||
export interface RadialLinearScale {
|
||||
|
||||
Reference in New Issue
Block a user