Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed Inline Documentation Order #69145

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading