Mark optional property with square brackets

This commit is contained in:
Frederic Junod
2018-04-04 16:55:32 +02:00
parent 842cdcfcf7
commit 070f08e778
3 changed files with 31 additions and 38 deletions

View File

@@ -11,8 +11,7 @@ import {makeArrayPusher, makeStructureNS, pushParseAndPop} from '../xml.js';
/**
* @typedef {Object} Options
* @property {Array.<string>|undefined} layers If set, only features of the
* given layers will be returned by the format when read.
* @property {Array.<string>} [layers] If set, only features of the given layers will be returned by the format when read.
*/