diff --git a/packages/core/src/di/injectable.ts b/packages/core/src/di/injectable.ts index 0eb983ae97214c..27feb21c4fc38e 100644 --- a/packages/core/src/di/injectable.ts +++ b/packages/core/src/di/injectable.ts @@ -70,7 +70,7 @@ export interface Injectable { * - 'root' injector, which will be the application-level injector in most apps. * - 'platform' injector, which would be the special singleton platform injector shared by all * applications on the page. - * - 'any` injector, which would be the injector which receives the resolution. (Note this only + * - 'any' injector, which would be the injector which receives the resolution. (Note this only * works on NgModule Injectors and not on Element Injector) */ providedIn?: Type|'root'|'platform'|'any'|null; diff --git a/packages/core/test/view/ng_module_spec.ts b/packages/core/test/view/ng_module_spec.ts index a81f9188a7fbd4..c875e49e9cbff1 100644 --- a/packages/core/test/view/ng_module_spec.ts +++ b/packages/core/test/view/ng_module_spec.ts @@ -286,7 +286,7 @@ describe('NgModuleRef_ injector', () => { expect(def.scope).toBe(null); }); - it('sets isRoot to `null` when INJECTOR_SCOPE is `null`', () => { + it('sets scope to `null` when INJECTOR_SCOPE is `null`', () => { const def = moduleDef([createProvider(INJECTOR_SCOPE, null)]); expect(def.scope).toBe(null); });