Mark optional property with square brackets

This commit is contained in:
Frederic Junod
2018-03-15 15:20:01 +01:00
parent 218ca38f1d
commit 8a4d60192f
12 changed files with 36 additions and 45 deletions

View File

@@ -22,9 +22,8 @@ const IGCZ = {
/**
* @typedef {Object} Options
* @property {IGCZ|string|undefined} altitudeMode Altitude mode. Possible
* values are `'barometric'`, `'gps'`, and `'none'`. Default
* is `'none'`.
* @property {IGCZ|string} [altitudeMode='none'] Altitude mode. Possible
* values are `'barometric'`, `'gps'`, and `'none'`.
*/