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 198 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!
20
What is TypeScript?10
Specify the location in the DOM where the component of the active route will be inserted in Angular7
What is Angular?4
Which flag allows you to specify, when creating an application, that you want to use SCSS for styles?6
How will the number 422.467 appear in the DOM in Angular with the default locale fr-FR (French-France)?6
How to capitalize the first letter of each word in a string in Angular5
Navigate to the new-gadgets route in Angular