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) {} }