From 80eb8b62ce8340e933fa4601f351addecb9bbc8a Mon Sep 17 00:00:00 2001 From: Lutz Helm Date: Mon, 13 May 2019 11:14:43 +0200 Subject: [PATCH] Display union types in IIIFInfo constructor doc --- src/ol/format/IIIFInfo.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ol/format/IIIFInfo.js b/src/ol/format/IIIFInfo.js index 9222726011..73e1834fba 100644 --- a/src/ol/format/IIIFInfo.js +++ b/src/ol/format/IIIFInfo.js @@ -276,7 +276,7 @@ versionFunctions[Versions.VERSION3] = generateVersion3Options; 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 */ constructor(imageInfo) { @@ -284,8 +284,8 @@ class IIIFInfo { } /** - * @param {Object|string} imageInfo Deserialized image information JSON response - * object or JSON response as string + * @param {string|ImageInformationResponse1_0|ImageInformationResponse1_1|ImageInformationResponse2|ImageInformationResponse3} imageInfo + * Deserialized image information JSON response object or JSON response as string * @api */ setImageInfo(imageInfo) {