Debian Codegraph @

skins/Vector/resources/skins.vector.js/userPreferences.js

raw symbols SCIP
1 let /** @type {MwApi} */ api;
2
3 /**
4 * @param {Object<string,string|number>} options
5 * @return {JQuery.Promise<Object>}
6 */
7 function saveOptions( options ) {
8 api = api || new mw.Api();
9 // @ts-ignore
10 return api.saveOptions( options, {
11 global: 'update'
12 } );
13 }
14
15 module.exports = {
16 saveOptions
17 };