Fix a couple of small typos in JSDoc typedef comments

While this doesn't affect the official API documentation, these cases should nonetheless be fixed.
This commit is contained in:
Jonas Jenwald 2022-03-04 12:10:16 +01:00
parent 234aa9a50e
commit 939e6f0c4c
3 changed files with 2 additions and 3 deletions

View File

@ -1406,7 +1406,7 @@ class Catalog {
} }
/** /**
* @typedef ParseDestDictionaryParameters * @typedef {Object} ParseDestDictionaryParameters
* @property {Dict} destDict - The dictionary containing the destination. * @property {Dict} destDict - The dictionary containing the destination.
* @property {Object} resultObj - The object where the parsed destination * @property {Object} resultObj - The object where the parsed destination
* properties will be placed. * properties will be placed.

View File

@ -1160,7 +1160,7 @@ class BaseViewer {
} }
/** /**
* @typedef ScrollPageIntoViewParameters * @typedef {Object} ScrollPageIntoViewParameters
* @property {number} pageNumber - The page number. * @property {number} pageNumber - The page number.
* @property {Array} [destArray] - The original PDF destination array, in the * @property {Array} [destArray] - The original PDF destination array, in the
* format: <page-ref> </XYZ|/FitXXX> <args..> * format: <page-ref> </XYZ|/FitXXX> <args..>

View File

@ -29,7 +29,6 @@ const LinkTarget = {
}; };
/** /**
* @typedef ExternalLinkParameters
* @typedef {Object} ExternalLinkParameters * @typedef {Object} ExternalLinkParameters
* @property {string} url - An absolute URL. * @property {string} url - An absolute URL.
* @property {LinkTarget} [target] - The link target. The default value is * @property {LinkTarget} [target] - The link target. The default value is