Skip to content

Commit

Permalink
Fix JSdoc syntax to make parameter required
Browse files Browse the repository at this point in the history
  • Loading branch information
noahtallen committed Apr 19, 2023
1 parent b1bf4dc commit c2fff09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference-guides/data/data-core-notices.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const ExampleComponent = () => {

_Parameters_

- _status_ `[string]`: Notice status.
- _status_ `string|undefined`: Notice status ("info" if undefined is passed).
- _content_ `string`: Notice message.
- _options_ `[Object]`: Notice options.
- _options.context_ `[string]`: Context under which to group notice.
Expand Down
2 changes: 1 addition & 1 deletion packages/notices/src/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ let uniqueId = 0;
/**
* Returns an action object used in signalling that a notice is to be created.
*
* @param {string} [status='info'] Notice status.
* @param {string|undefined} status Notice status ("info" if undefined is passed).
* @param {string} content Notice message.
* @param {Object} [options] Notice options.
* @param {string} [options.context='global'] Context under which to
Expand Down

0 comments on commit c2fff09

Please sign in to comment.