docs: unified string chaining (#22735)

PR Close #22735
This commit is contained in:
Daniel Sogl 2018-03-13 15:55:41 +01:00 committed by Miško Hevery
parent 3f8ab80583
commit b7823e7087
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ export class HeroService {
// #docregion log
/** Log a HeroService message with the MessageService */
private log(message: string) {
this.messageService.add('HeroService: ' + message);
this.messageService.add(`HeroService: ${message}`);
}
// #enddocregion log
}