mediawiki-skins-Vector/resources/skins.vector.legacy.js/skin-legacy.js
Jon Robson 87dd101a69 Consolidate and fix eslint errors, dropping ts-ignores
* Upgrade @wikimedia/types-wikimedia to allow us to drop several
@ts-ignores
* Merges eslint rules now that ES6 is default everywhere
* Runs autofix command
* Fixes various prefer-const errors

Change-Id: Iee5bcb93f10a76d80dbeec813f6387c13438263e
2023-04-11 16:56:31 -07:00

15 lines
385 B
JavaScript

/** @interface MediaWikiPageReadyModule */
const
collapsibleTabs = require( './collapsibleTabs.js' ),
/** @type {MediaWikiPageReadyModule} */
pageReady = require( /** @type {string} */( 'mediawiki.page.ready' ) ),
vector = require( './vector.js' );
function main() {
collapsibleTabs.init();
$( vector.init );
pageReady.loadSearchModule( 'mediawiki.searchSuggest' );
}
main();