From d05aa70c6bd214a41be3e5a01c5f528319babb0c Mon Sep 17 00:00:00 2001 From: JB Nizet Date: Tue, 28 Mar 2017 18:37:08 +0200 Subject: [PATCH] docs(core): fix typo and example in InjectionToken doc (#15449) The doc included an example that didn't use InjectionToken. --- packages/core/src/di/injection_token.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/src/di/injection_token.ts b/packages/core/src/di/injection_token.ts index d75b9b661d..0602cd92e8 100644 --- a/packages/core/src/di/injection_token.ts +++ b/packages/core/src/di/injection_token.ts @@ -42,8 +42,8 @@ export class OpaqueToken { * runtime representation) such as when injecting an interface, callable type, array or * parametrized type. * - * `InjectionToken` is parametrize on `T` which is the type of object which will be returned by the - * `Injector`. This provides additional level of type safety. + * `InjectionToken` is parameterized on `T` which is the type of object which will be returned by + * the `Injector`. This provides additional level of type safety. * * ``` * interface MyInterface {...} @@ -53,7 +53,7 @@ export class OpaqueToken { * * ### Example * - * {@example core/di/ts/injector_spec.ts region='Injector'} + * {@example core/di/ts/injector_spec.ts region='InjectionToken'} * * @stable */