mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-04 01:00:05 +00:00
Merge pull request #34494 from adripanico/master
ChartTooltipItem's xLabel and yLabel can be a number
This commit is contained in:
5
types/chart.js/index.d.ts
vendored
5
types/chart.js/index.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user