From 7d006c5005be370c1a8d39aa59bd22d720ca8992 Mon Sep 17 00:00:00 2001 From: Vani Date: Mon, 6 Aug 2018 09:27:34 -0700 Subject: [PATCH] docs(core): fix tree-shakable spelling (#24057) PR Close #24057 --- packages/core/src/di/injection_token.ts | 8 ++------ packages/examples/core/di/ts/injector_spec.ts | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/packages/core/src/di/injection_token.ts b/packages/core/src/di/injection_token.ts index ab87a90cd1..be38b32edd 100644 --- a/packages/core/src/di/injection_token.ts +++ b/packages/core/src/di/injection_token.ts @@ -38,18 +38,14 @@ import {defineInjectable} from './defs'; * * @usageNotes * ### Basic Example - - * #### Tree-shakable InjectionToken - * - * {@example core/di/ts/injector_spec.ts region='ShakeableInjectionToken'} * * #### Plain InjectionToken * * {@example core/di/ts/injector_spec.ts region='InjectionToken'} * - * ### Tree-shakeable Example + * #### Tree-shakable InjectionToken * - * {@example core/di/ts/injector_spec.ts region='ShakeableInjectionToken'} + * {@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'} * */ export class InjectionToken { diff --git a/packages/examples/core/di/ts/injector_spec.ts b/packages/examples/core/di/ts/injector_spec.ts index 8434c4565b..1a06c1c824 100644 --- a/packages/examples/core/di/ts/injector_spec.ts +++ b/packages/examples/core/di/ts/injector_spec.ts @@ -61,7 +61,7 @@ class MockRootScopeInjector implements Injector { const injector = new MockRootScopeInjector(Injector.create({providers: [{provide: MyDep, deps: []}]})); - // #docregion ShakeableInjectionToken + // #docregion ShakableInjectionToken class MyService { constructor(readonly myDep: MyDep) {} }