mediawiki-extensions-Popups/src/reducers
Thiemo Kreuz 97a5d335d7 Replace rare {!…} and {?…} JSDoc syntax
This is documented at http://usejsdoc.org/tags-type.html, but not in many
other places, especially not in the JSDuck documentation.

The {!…} syntax means "can not be null". This is the default anyway.

The {?…} syntax means nullable. In a few situation is was used when a
parameter can be undefined. I decided to remove it everywhere and replace
it with {…|null} when appropriate, because this is much more explicit. Less
syntax to remember.

Note I'm intentionally not using the […] syntax when a parameter is followed
by non-optional parameters. Actually skipping a parameter in such a situation
would mess the parameter order up. Having optional parameters not at the end
is sometimes used as a feature in JavaScript code, but not in this codebase,
as far as I can see.

Change-Id: Ie370cfe08c32d1af5b0341951bed044fc3511c57
2019-01-24 21:00:45 +01:00
..
eventLogging.js Doc: add linkInteractionToken description 2018-09-05 20:02:32 +00:00
index.js Hygiene: use object shorthand where obvious 2018-03-20 09:26:20 -05:00
nextState.js Hygiene: make JSDoc configs consistent 2018-07-23 14:45:14 -05:00
pageviews.js Upgrade schema and log the required fields 2018-02-26 10:25:30 -08:00
preview.js Replace rare {!…} and {?…} JSDoc syntax 2019-01-24 21:00:45 +01:00
settings.js Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
statsv.js Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00