Merge pull request #16152 from Snuffleupagus/type-fixes
Miscellaneous small TypeScript fixes
This commit is contained in:
commit
07a3283e53
@ -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',
|
||||
|
@ -369,7 +369,7 @@ function getOriginalIndex(diffs, pos, len) {
|
||||
* @typedef {Object} PDFFindControllerOptions
|
||||
* @property {IPDFLinkService} linkService - The navigation/linking service.
|
||||
* @property {EventBus} eventBus - The application event bus.
|
||||
* @property {boolean} updateMatchesCountOnProgress - True if the matches
|
||||
* @property {boolean} [updateMatchesCountOnProgress] - True if the matches
|
||||
* count must be updated on progress or only when the last page is reached.
|
||||
* The default value is `true`.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user