1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app/helpers/utils
Mark Stacey ac01c5c89a
Consistent jsdoc syntax ()
* Specify type before parameter name

Various JSDoc `@param` entries were specified as `name {type}` rather
than `{type} name`.

A couple of `@return` entries have been given types as well.

* Use JSDoc optional syntax rather than Closure syntax

* Use @returns rather than @return

* Use consistent built-in type capitalization

Primitive types are lower-case, and Object is upper-case.

* Separate param/return description with a dash
2020-01-13 14:36:36 -04:00
..
common.util.js
common.util.test.js
confirm-tx.util.js
confirm-tx.util.test.js
conversion-util.js Consistent jsdoc syntax () 2020-01-13 14:36:36 -04:00
conversion-util.test.js
conversions.util.js
fetch-with-cache.js
fetch-with-cache.test.js
formatters.js
gas-time-estimates.util.js
i18n-helper.js Consistent jsdoc syntax () 2020-01-13 14:36:36 -04:00
metametrics.util.js Consistent jsdoc syntax () 2020-01-13 14:36:36 -04:00
switch-direction.js Consistent jsdoc syntax () 2020-01-13 14:36:36 -04:00
token-util.js Migrate codebase to use ESM () 2020-01-09 00:04:58 -03:30
transactions.util.js
transactions.util.test.js
util.js Consistent jsdoc syntax () 2020-01-13 14:36:36 -04:00
util.test.js Move util test file alongside subject () 2020-01-13 10:41:41 -03:30