diff --git a/src/display/api.js b/src/display/api.js index 20c78009e..f5b0a9f75 100644 --- a/src/display/api.js +++ b/src/display/api.js @@ -1169,7 +1169,8 @@ class PDFDocumentProxy { * Page render parameters. * * @typedef {Object} RenderParameters - * @property {Object} canvasContext - A 2D context of a DOM Canvas object. + * @property {CanvasRenderingContext2D} canvasContext - A 2D context of a DOM + * Canvas object. * @property {PageViewport} viewport - Rendering viewport obtained by calling * the `PDFPageProxy.getViewport` method. * @property {string} [intent] - Rendering intent, can be 'display', 'print',