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:
parent
234aa9a50e
commit
939e6f0c4c
@ -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.
|
||||
|
@ -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..>
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user