Skip to content

Commit ceb7c5d

Browse files
author
dualyticalchemy
committed
Add type information to routerCallback
1 parent ffad5e0 commit ceb7c5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

darrt/resources.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ router.patch('/status/:id', routerCallback(actions.status, 'api', 'item'));
5656
/**
5757
* @function routerCallback
5858
* @memberof resources
59-
* @param {} act
60-
* @param {} type
61-
* @param {} filter
59+
* @param {function} act - Action to perform.
60+
* @param {string} type - Request context.
61+
* @param {string} filter - Name of filter.
6262
*/
6363
function routerCallback (act, type, filter) {
6464
/**

0 commit comments

Comments
 (0)