Update chart.js/index.d.ts (#27575)

The `barThickness` can be `'flex'` as well. So we must be able to accept strings.
This commit is contained in:
headdetect
2018-07-26 11:09:20 -06:00
committed by Andy
parent 84009d1c24
commit 299b729072

View File

@@ -584,7 +584,7 @@ declare namespace Chart {
position?: string;
ticks?: TickOptions;
gridLines?: GridLineOptions;
barThickness?: number;
barThickness?: number | string;
maxBarThickness?: number;
scaleLabel?: ScaleTitleOptions;
time?: TimeScale;