docs: Make downloadManager optional in JSDoc

This commit is contained in:
ayush 2023-09-27 12:47:50 +05:30
parent 3f7060e777
commit 87a1baf29f
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ function getRectDims(rect) {
* @property {Object} data
* @property {HTMLDivElement} layer
* @property {IPDFLinkService} linkService
* @property {IDownloadManager} downloadManager
* @property {IDownloadManager} [downloadManager]
* @property {AnnotationStorage} [annotationStorage]
* @property {string} [imageResourcesPath] - Path for image resources, mainly
* for annotation icons. Include trailing slash.

View File

@ -37,7 +37,7 @@ import { PresentationModeState } from "./ui_utils.js";
* for annotation icons. Include trailing slash.
* @property {boolean} renderForms
* @property {IPDFLinkService} linkService
* @property {IDownloadManager} downloadManager
* @property {IDownloadManager} [downloadManager]
* @property {IL10n} l10n - Localization service.
* @property {boolean} [enableScripting]
* @property {Promise<boolean>} [hasJSActionsPromise]