Display union types in IIIFInfo constructor doc
This commit is contained in:
@@ -276,7 +276,7 @@ versionFunctions[Versions.VERSION3] = generateVersion3Options;
|
|||||||
class IIIFInfo {
|
class IIIFInfo {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {ImageInformationResponse1_0|ImageInformationResponse1_1|ImageInformationResponse2|ImageInformationResponse3|string} imageInfo
|
* @param {string|ImageInformationResponse1_0|ImageInformationResponse1_1|ImageInformationResponse2|ImageInformationResponse3} imageInfo
|
||||||
* Deserialized image information JSON response object or JSON response as string
|
* Deserialized image information JSON response object or JSON response as string
|
||||||
*/
|
*/
|
||||||
constructor(imageInfo) {
|
constructor(imageInfo) {
|
||||||
@@ -284,8 +284,8 @@ class IIIFInfo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {Object|string} imageInfo Deserialized image information JSON response
|
* @param {string|ImageInformationResponse1_0|ImageInformationResponse1_1|ImageInformationResponse2|ImageInformationResponse3} imageInfo
|
||||||
* object or JSON response as string
|
* Deserialized image information JSON response object or JSON response as string
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
setImageInfo(imageInfo) {
|
setImageInfo(imageInfo) {
|
||||||
|
|||||||
Reference in New Issue
Block a user