@angular/core 8.1.1 → 8.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/core.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v8.1.1
2
+ * @license Angular v8.1.2
3
3
  * (c) 2010-2019 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -3148,15 +3148,20 @@ export declare const Injectable: InjectableDecorator;
3148
3148
  */
3149
3149
  export declare interface InjectableDecorator {
3150
3150
  /**
3151
- * Decorator that marks a class as available to `Injector` for creation.
3151
+ * Decorator that marks a class as available to be
3152
+ * provided and injected as a dependency.
3152
3153
  *
3153
3154
  * @see [Introduction to Services and DI](guide/architecture-services)
3154
3155
  * @see [Dependency Injection Guide](guide/dependency-injection)
3155
3156
  *
3156
3157
  * @usageNotes
3157
3158
  *
3158
- * The following example shows how service classes are properly marked as
3159
- * injectable.
3159
+ * Marking a class with `@Injectable` ensures that the compiler
3160
+ * will generate the necessary metadata to create the class's
3161
+ * dependencies when the class is injected.
3162
+ *
3163
+ * The following example shows how a service class is properly
3164
+ * marked so that a supporting service can be injected upon creation.
3160
3165
  *
3161
3166
  * <code-example path="core/di/ts/metadata_spec.ts" region="Injectable"
3162
3167
  * linenums="false"></code-example>
@@ -8426,11 +8431,6 @@ export declare interface ViewChildDecorator {
8426
8431
  * {@example core/di/ts/viewChild/view_child_howto.ts region='HowTo'
8427
8432
  * linenums="false"}
8428
8433
  *
8429
- * ### Example 3
8430
- *
8431
- * {@example core/di/ts/viewChild/view_child_example.ts region='Component'
8432
- * linenums="false"}
8433
- *
8434
8434
  * @Annotation
8435
8435
  */
8436
8436
  (selector: Type<any> | Function | string, opts: {