JSDoc: {Mixed} -> {any}

Change-Id: I457475a9c436c40a384675027c052294e6b1305d
This commit is contained in:
Ed Sanders 2024-05-02 10:36:01 +01:00
parent c05851aa4f
commit 673dea4852
5 changed files with 5 additions and 7 deletions

View file

@ -46,8 +46,6 @@
"mw.libs.ve." "mw.libs.ve."
], ],
"linkMap": { "linkMap": {
"Mixed": "#",
"VisualEditorOverlay": "https://doc.wikimedia.org/MobileFrontend/master/js/js/VisualEditorOverlay.html", "VisualEditorOverlay": "https://doc.wikimedia.org/MobileFrontend/master/js/js/VisualEditorOverlay.html",
"Array": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", "Array": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array",

View file

@ -99,8 +99,8 @@ ve.ce.MWGalleryNode.prototype.onUpdate = function () {
* Handle attribute changes to keep the live HTML element updated. * Handle attribute changes to keep the live HTML element updated.
* *
* @param {string} key Attribute name * @param {string} key Attribute name
* @param {Mixed} from Old value * @param {any} from Old value
* @param {Mixed} to New value * @param {any} to New value
*/ */
ve.ce.MWGalleryNode.prototype.onAttributeChange = function ( key, from, to ) { ve.ce.MWGalleryNode.prototype.onAttributeChange = function ( key, from, to ) {
var defaults = mw.config.get( 'wgVisualEditorConfig' ).galleryOptions; var defaults = mw.config.get( 'wgVisualEditorConfig' ).galleryOptions;

View file

@ -231,7 +231,7 @@ ve.init.mw.DesktopArticleTarget.prototype.setContainer = function ( $container )
/** /**
* Verify that a PopStateEvent correlates to a state we created. * Verify that a PopStateEvent correlates to a state we created.
* *
* @param {Mixed} popState From PopStateEvent#state * @param {any} popState From PopStateEvent#state
* @return {boolean} * @return {boolean}
*/ */
ve.init.mw.DesktopArticleTarget.prototype.verifyPopState = function ( popState ) { ve.init.mw.DesktopArticleTarget.prototype.verifyPopState = function ( popState ) {

View file

@ -31,7 +31,7 @@ OO.inheritClass( ve.ui.MWWikitextCommandRegistry, ve.ui.CommandRegistry );
* See https://doc.wikimedia.org/oojs/master/OO.Registry.html * See https://doc.wikimedia.org/oojs/master/OO.Registry.html
* *
* @param {string} name Symbolic name * @param {string} name Symbolic name
* @return {Mixed|undefined} Data associated with symbolic name * @return {any|undefined} Data associated with symbolic name
*/ */
ve.ui.MWWikitextCommandRegistry.prototype.lookup = function ( name ) { ve.ui.MWWikitextCommandRegistry.prototype.lookup = function ( name ) {
// Parent method // Parent method

View file

@ -41,7 +41,7 @@ OO.inheritClass( ve.ui.MWWikitextDataTransferHandlerFactory, ve.ui.DataTransferH
* See https://doc.wikimedia.org/oojs/master/OO.Factory.html * See https://doc.wikimedia.org/oojs/master/OO.Factory.html
* *
* @param {string} name Object name * @param {string} name Object name
* @param {...Mixed} [args] Arguments to pass to the constructor * @param {...any} [args] Arguments to pass to the constructor
* @return {Object} The new object * @return {Object} The new object
* @throws {Error} Unknown object name * @throws {Error} Unknown object name
*/ */