Merge pull request #14631 from Snuffleupagus/typedef-fixes

Fix a couple of small typos in JSDoc `typedef` comments
This commit is contained in:
Tim van der Meij 2022-03-05 13:06:53 +01:00 committed by GitHub
commit 5d12ac576b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 {Object} resultObj - The object where the parsed destination
* properties will be placed.

View File

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

View File

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