@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.
package/fesm2020/core.mjs CHANGED
@@ -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
  */
@@ -403,10 +403,9 @@ function getInheritedInjectableDef(type) {
403
403
  const def = type && (type[NG_PROV_DEF] || type[NG_INJECTABLE_DEF]);
404
404
  if (def) {
405
405
  const typeName = getTypeName(type);
406
- // TODO(FW-1307): Re-add ngDevMode when closure can handle it
407
- // ngDevMode &&
408
- console.warn(`DEPRECATED: DI is instantiating a token "${typeName}" that inherits its @Injectable decorator but does not provide one itself.\n` +
409
- `This will become an error in a future version of Angular. Please add @Injectable() to the "${typeName}" class.`);
406
+ ngDevMode &&
407
+ console.warn(`DEPRECATED: DI is instantiating a token "${typeName}" that inherits its @Injectable decorator but does not provide one itself.\n` +
408
+ `This will become an error in a future version of Angular. Please add @Injectable() to the "${typeName}" class.`);
410
409
  return def;
411
410
  }
412
411
  else {
@@ -8385,7 +8384,7 @@ class Version {
8385
8384
  /**
8386
8385
  * @publicApi
8387
8386
  */
8388
- const VERSION = new Version('15.2.0-rc.0');
8387
+ const VERSION = new Version('15.2.0');
8389
8388
 
8390
8389
  // This default value is when checking the hierarchy for a token.
8391
8390
  //