mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-12 11:51:10 +08:00
Fix TravisCI Bugs
This commit is contained in:
@@ -68,9 +68,9 @@ if (chart.chartArea) {
|
||||
|
||||
// http://www.chartjs.org/docs/latest/configuration/tooltip.html#position-modes
|
||||
Chart.Tooltip.positioners.custom = function(elements: any, eventPosition: any) {
|
||||
var tooltip = this;
|
||||
const tooltip = this;
|
||||
return {
|
||||
x: 0,
|
||||
y: 0
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
2
types/chart.js/index.d.ts
vendored
2
types/chart.js/index.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Chart.js 2.7.1
|
||||
// Type definitions for Chart.js 2.7
|
||||
// Project: https://github.com/nnnick/Chart.js
|
||||
// Definitions by: Alberto Nuti <https://github.com/anuti>
|
||||
// Fabien Lavocat <https://github.com/FabienLavocat>
|
||||
|
||||
Reference in New Issue
Block a user