This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports.UsersService = function (url) { | |
// ... UsersService init code ... | |
}; | |
module.exports.UsersService.prototype.getUser = function (id) { | |
// ... code to get active user by id ... | |
}; | |
export class NewUsersService { | |
url: string; | |
constructor(url: string) { | |
// ... NewUsersService init code ... | |
} | |
getUser(id: number): JQuery.Promise<UserViewModel, any, any> { | |
// ... code to get active user by id ... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment