From 3eb74994d8185a48684a3f5f808bf4d3418b49ed Mon Sep 17 00:00:00 2001 From: Camila Gomes Date: Thu, 27 Aug 2020 15:33:55 +0200 Subject: [PATCH] Update param type on docs --- src/modules/html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/html.js b/src/modules/html.js index 13be0f7d4..ecece1d5d 100644 --- a/src/modules/html.js +++ b/src/modules/html.js @@ -968,7 +968,7 @@ import { globalObject } from "../libs/globalObject.js"; * @function * @param {HTMLElement|string} source The source HTMLElement or a string containing HTML. * @param {Object} [options] Collection of settings - * @param {string} [options.callback] The mandatory callback-function gets as first parameter the current jsPDF instance + * @param {function} [options.callback] The mandatory callback-function gets as first parameter the current jsPDF instance * * @example * var doc = new jsPDF();