Skip to content

Commit

Permalink
Changed Inline Documentation Order
Browse files Browse the repository at this point in the history
  • Loading branch information
shail-mehta committed Feb 11, 2025
1 parent 6e42fc3 commit 0f3495d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/i18n/src/sprintf.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ const logErrorOnce = memoize( console.error ); // eslint-disable-line no-console
* Returns a formatted string. If an error occurs in applying the format, the
* original format string is returned.
*
* @see https://www.npmjs.com/package/sprintf-js
*
* @param {string} format The format of the string to generate.
* @param {...*} args Arguments to apply to the format.
*
* @see https://www.npmjs.com/package/sprintf-js
*
* @return {string} The formatted string.
*/
export function sprintf( format, ...args ) {
Expand Down
3 changes: 2 additions & 1 deletion packages/token-list/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,10 @@ export default class TokenList {
*
* Always returns `true` in this implementation.
*
* @param _token
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-supports
*
* @param _token
*
* @return Whether token is supported.
*/
supports( _token: string ): boolean {
Expand Down
3 changes: 2 additions & 1 deletion packages/widgets/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ export * from './utils';
* Note that for the block to be useful, any scripts required by a widget must
* be loaded into the page.
*
* @param {Object} supports Block support settings.
* @see https://developer.wordpress.org/block-editor/how-to-guides/widgets/legacy-widget-block/
*
* @param {Object} supports Block support settings.
*/
export function registerLegacyWidgetBlock( supports = {} ) {
const { metadata, settings, name } = legacyWidget;
Expand Down

0 comments on commit 0f3495d

Please sign in to comment.