docs: Make downloadManager optional in JSDoc
This commit is contained in:
parent
3f7060e777
commit
87a1baf29f
@ -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.
|
||||
|
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user