Easy
Into a file user.ts, what can be told about this function ?
getUser(id: string): User {
return this.userService.getUser(id);
}
Author: Fabien MacipStatus: PublishedQuestion passed 64 times
Edit
Similar QuestionsMore questions about Angular
14
What is TypeScript?8
Specify the location in the DOM where the component of the active route will be inserted in Angular6
How to capitalize the first letter of each word in a string in Angular5
Which flag allows you to specify, when creating an application, that you want to use SCSS for styles?5
What is Angular?