Skip to content

Commit eb5d8cb

Browse files
committed
fix(ts): fix ts definition for User#getRoles
1 parent e34ef4c commit eb5d8cb

File tree

2 files changed

+513
-425
lines changed

2 files changed

+513
-425
lines changed

src/user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ module.exports = function(AV) {
726726
/**
727727
* Get this user's Roles.
728728
* @param {AuthOptions} [options]
729-
* @return {Promise} A promise that is fulfilled with the roles when
729+
* @return {Promise.<AV.Role[]>} A promise that is fulfilled with the roles when
730730
* the query is complete.
731731
*/
732732
getRoles(options) {

0 commit comments

Comments
 (0)