Skip to content

Commit 320585f

Browse files
authored
Merge pull request #2880 from GomesCamila/patch-2
Update type on html function callback parameter docs
2 parents dd6bddd + 3eb7499 commit 320585f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ import { globalObject } from "../libs/globalObject.js";
968968
* @function
969969
* @param {HTMLElement|string} source The source HTMLElement or a string containing HTML.
970970
* @param {Object} [options] Collection of settings
971-
* @param {string} [options.callback] The mandatory callback-function gets as first parameter the current jsPDF instance
971+
* @param {function} [options.callback] The mandatory callback-function gets as first parameter the current jsPDF instance
972972
*
973973
* @example
974974
* var doc = new jsPDF();

0 commit comments

Comments
 (0)