mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
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
3 changed files with 2 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue