swc/ecmascript/jsdoc/tests/fixtures/restparams.js

24 lines
543 B
JavaScript
Raw Normal View History

2020-08-14 12:20:25 +03:00
'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) {};