Merge pull request #17038 from ayushmourya/master
Make downloadManager optional in JSDoc types
This commit is contained in:
commit
b6d75e736a
@ -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…
Reference in New Issue
Block a user