docs: fix typo in injected variable name (#23315)
The service injected is `ValueService`, however the name of the variable does not reflect that. It's actually confusing since it's the name of the `class` being created. PR Close #23315
This commit is contained in:
parent
75febe7511
commit
993eeababb
|
@ -37,8 +37,8 @@ export class ValueService {
|
||||||
// #docregion MasterService
|
// #docregion MasterService
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class MasterService {
|
export class MasterService {
|
||||||
constructor(private masterService: ValueService) { }
|
constructor(private valueService: ValueService) { }
|
||||||
getValue() { return this.masterService.getValue(); }
|
getValue() { return this.valueService.getValue(); }
|
||||||
}
|
}
|
||||||
// #enddocregion MasterService
|
// #enddocregion MasterService
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue