Improve JSDoc

This commit is contained in:
ahocevar
2018-10-14 09:57:26 +02:00
parent 04f2174052
commit af4e5ca7cf
5 changed files with 6 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ import SourceState from './State.js';
/**
* @typedef {Object} Options
* @property {AttributionLike} [attributions]
* @property {boolean} [attributionsCollapsible] Whether attributions should be collapsible.
* @property {boolean} [attributionsCollapsible=true] Attributions are collapsible.
* @property {import("../proj.js").ProjectionLike} projection
* @property {SourceState} [state]
* @property {boolean} [wrapX]
@@ -129,7 +129,7 @@ class Source extends BaseObject {
}
/**
* @return {boolean} Should the attributions be collapsible or not.
* @return {boolean} Aattributions are collapsible.
*/
getAttributionsCollapsible() {
return this.attributionsCollapsible_;