JSDoc: convert @cfg to @param

Bug: T138401
Change-Id: Ib09d471a28821f54c6f8678e788ba85fbd426d35
This commit is contained in:
Novem Linguae 2024-05-28 06:25:03 -07:00
parent eca84a5542
commit b02ba00fd0
4 changed files with 5 additions and 5 deletions

View file

@ -24,7 +24,7 @@ class Api {
/**
* @param {mw.Api} api
* @param {Object} [options]
* @cfg {number} [maxage] cache expiration time, in seconds
* @param {number} [options.maxage] cache expiration time, in seconds
* Will be used for both client-side cache (maxage) and reverse proxies (s-maxage)
*/
constructor( api, options ) {

View file

@ -25,7 +25,7 @@ class FileRepoInfo extends Api {
/**
* @param {mw.Api} api
* @param {Object} [options]
* @cfg {number} [maxage] cache expiration time, in seconds
* @param {number} [options.maxage] cache expiration time, in seconds
* Will be used for both client-side cache (maxage) and reverse proxies (s-maxage)
*/
constructor( api, options ) {

View file

@ -27,8 +27,8 @@ class ImageInfo extends Api {
/**
* @param {mw.Api} api
* @param {Object} [options]
* @cfg {string} [language=null] image metadata language
* @cfg {number} [maxage] cache expiration time, in seconds
* @param {string} [options.language=null] image metadata language
* @param {number} [options.maxage] cache expiration time, in seconds
* Will be used for both client-side cache (maxage) and reverse proxies (s-maxage)
*/
constructor( api, options ) {

View file

@ -27,7 +27,7 @@ class ThumbnailInfo extends Api {
/**
* @param {mw.Api} api
* @param {Object} [options]
* @cfg {number} [maxage] cache expiration time, in seconds
* @param {number} [options.maxage] cache expiration time, in seconds
* Will be used for both client-side cache (maxage) and reverse proxies (s-maxage)
*/
constructor( api, options ) {