diff --git a/types/chart.js/chart.js-tests.ts b/types/chart.js/chart.js-tests.ts index 1075865992..3a1c3eb4a6 100644 --- a/types/chart.js/chart.js-tests.ts +++ b/types/chart.js/chart.js-tests.ts @@ -67,19 +67,8 @@ if (chart.chartArea) { } // http://www.chartjs.org/docs/latest/configuration/tooltip.html#position-modes -/** - * Custom positioner - * @function Chart.Tooltip.positioners.custom - * @param elements {Chart.Element[]} the tooltip elements - * @param eventPosition {Point} the position of the event in canvas coordinates - * @returns {Point} the tooltip position - */ Chart.Tooltip.positioners.custom = function(elements: any, eventPosition: any) { - /** @type {Chart.Tooltip} */ var tooltip = this; - - /* ... */ - return { x: 0, y: 0