@angular/core 15.2.0-rc.0 → 15.2.0

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v15.2.0-rc.0
2
+ * @license Angular v15.2.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -773,10 +773,9 @@ function getInheritedInjectableDef(type) {
773
773
  const def = type && (type[NG_PROV_DEF] || type[NG_INJECTABLE_DEF]);
774
774
  if (def) {
775
775
  const typeName = getTypeName(type);
776
- // TODO(FW-1307): Re-add ngDevMode when closure can handle it
777
- // ngDevMode &&
778
- console.warn(`DEPRECATED: DI is instantiating a token "${typeName}" that inherits its @Injectable decorator but does not provide one itself.\n` +
779
- `This will become an error in a future version of Angular. Please add @Injectable() to the "${typeName}" class.`);
776
+ ngDevMode &&
777
+ console.warn(`DEPRECATED: DI is instantiating a token "${typeName}" that inherits its @Injectable decorator but does not provide one itself.\n` +
778
+ `This will become an error in a future version of Angular. Please add @Injectable() to the "${typeName}" class.`);
780
779
  return def;
781
780
  }
782
781
  else {
@@ -8751,7 +8750,7 @@ class Version {
8751
8750
  /**
8752
8751
  * @publicApi
8753
8752
  */
8754
- const VERSION = new Version('15.2.0-rc.0');
8753
+ const VERSION = new Version('15.2.0');
8755
8754
 
8756
8755
  // This default value is when checking the hierarchy for a token.
8757
8756
  //