From 1925308583cc74f5c59a6a3d99c8f33a03885287 Mon Sep 17 00:00:00 2001 From: Lance Finney Date: Tue, 14 Apr 2020 08:39:56 -0500 Subject: [PATCH] docs(data): fix compilation errors in example (#2490) --- projects/ngrx.io/content/guide/data/extension-points.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/ngrx.io/content/guide/data/extension-points.md b/projects/ngrx.io/content/guide/data/extension-points.md index 7594fa6194..6581ccf707 100644 --- a/projects/ngrx.io/content/guide/data/extension-points.md +++ b/projects/ngrx.io/content/guide/data/extension-points.md @@ -182,8 +182,8 @@ import { @Injectable() export class PluralHttpUrlGenerator extends DefaultHttpUrlGenerator { - constructor(private pluralizer: Pluralizer) { - super(pluralizer); + constructor(private myPluralizer: Pluralizer) { + super(myPluralizer); } protected getResourceUrls( @@ -193,7 +193,7 @@ export class PluralHttpUrlGenerator extends DefaultHttpUrlGenerator { let resourceUrls = this.knownHttpResourceUrls[entityName]; if (!resourceUrls) { const nRoot = normalizeRoot(root); - const url = `${nRoot}/${this.pluralizzer.pluralize( + const url = `${nRoot}/${this.myPluralizer.pluralize( entityName )}/`.toLowerCase(); resourceUrls = {