swc/crates/jsdoc/tests/fixtures/restparams.js
2021-11-10 16:39:01 +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) {};