diff --git a/src/display/api.js b/src/display/api.js index efa18944b..1b3ba67a7 100644 --- a/src/display/api.js +++ b/src/display/api.js @@ -206,7 +206,7 @@ if (typeof PDFJSDev === "undefined") { * `OffscreenCanvas` in the worker. Primarily used to improve performance of * image conversion/rendering. * The default value is `true` in web environments and `false` in Node.js. - * @property {boolean} [canvasMaxAreaInBytes] - The integer value is used to + * @property {number} [canvasMaxAreaInBytes] - The integer value is used to * know when an image must be resized (uses `OffscreenCanvas` in the worker). * If it's -1 then a possibly slow algorithm is used to guess the max value. * @property {boolean} [disableFontFace] - By default fonts are converted to