Merge pull request #34494 from adripanico/master

ChartTooltipItem's xLabel and yLabel can be a number
This commit is contained in:
Benjamin Lichtman
2019-04-11 15:25:32 -07:00
committed by GitHub

View File

@@ -14,6 +14,7 @@
// Alexandros Dorodoulis <https://github.com/alexdor>
// Manuel Heidrich <https://github.com/mahnuh>
// Conrad Holtzhausen <https://github.com/Conrad777>
// Adrián Caballero <https://github.com/adripanico>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
@@ -146,8 +147,8 @@ declare namespace Chart {
}
interface ChartTooltipItem {
xLabel?: string;
yLabel?: string;
xLabel?: string | number;
yLabel?: string | number;
datasetIndex?: number;
index?: number;
}