From d300e72ad41e7dea9826a03261b381139ad3d437 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Sun, 10 Feb 2019 06:15:37 -0800 Subject: [PATCH] Change object to Chart --- src/core/core.plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/core.plugins.js b/src/core/core.plugins.js index aa4a8900c5e..2d9b9a6c9eb 100644 --- a/src/core/core.plugins.js +++ b/src/core/core.plugins.js @@ -89,7 +89,7 @@ module.exports = { * Calls enabled plugins for `chart` on the specified hook and with the given args. * This method immediately returns as soon as a plugin explicitly returns false. The * returned value can be used, for instance, to interrupt the current action. - * @param {object} chart - The chart instance for which plugins should be called. + * @param {Chart} chart - The chart instance for which plugins should be called. * @param {string} hook - The name of the plugin method to call (e.g. 'beforeUpdate'). * @param {Array} [args] - Extra arguments to apply to the hook call. * @returns {boolean} false if any of the plugins return false, else returns true.