Fix canvasMaxAreaInBytes type

Fixes #16503
This commit is contained in:
Wojciech Maj 2023-06-01 15:41:43 +02:00
parent 1ef918239c
commit 1add9bc131
No known key found for this signature in database
GPG Key ID: F0654C838468A4D7

View File

@ -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