swc/ecmascript/jsdoc/tests/fixtures/restparams.js
2020-08-14 18:20:25 +09:00

24 lines
543 B
JavaScript

'use strict';
/**
* Set the list of users who are admins.
*
* @param {User} users - The users who will receive admin rights.
*/
function setAdmins(...users) {}
/**
* Set the list of users who can access a widget.
*
* @param {Widget} widget - The widget.
* @param {User} users - The users who will receive rights to access the widget.
*/
function setWidgetAccess(widget, ...users) {}
/**
* Set the list of users who are managers.
*
* @param {User} users - The users who are managers.
*/
var setManagers = function(...users) {};