From 5fde27b8a4e241ca2abdee195fc81121f50fbf8a Mon Sep 17 00:00:00 2001 From: Pawel Fras Date: Wed, 23 Oct 2024 12:31:43 +0200 Subject: [PATCH] refactor(core): fix deprecation version for APP_INITIALIZER and PLATFORM_INITIALIZER (#58322) this commit changes deprecation version mentioned in JSDocs for APP_INITIALIZER and PLATFORM_INITIALIZER from 18.1.0 to 19.0.0 PR Close #58322 --- packages/core/src/application/application_init.ts | 3 +-- packages/core/src/application/application_tokens.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/core/src/application/application_init.ts b/packages/core/src/application/application_init.ts index 66f1661abbe..c35fda4b9c9 100644 --- a/packages/core/src/application/application_init.ts +++ b/packages/core/src/application/application_init.ts @@ -15,7 +15,6 @@ import { InjectionToken, Injector, makeEnvironmentProviders, - Provider, runInInjectionContext, } from '../di'; import {RuntimeError, RuntimeErrorCode} from '../errors'; @@ -36,7 +35,7 @@ import {isPromise, isSubscribable} from '../util/lang'; * * Note that the provided initializer is run in the injection context. * - * @deprecated from v18.1.0, use provideAppInitializer instead + * @deprecated from v19.0.0, use provideAppInitializer instead * * @see {@link ApplicationInitStatus} * @see {@link provideAppInitializer} diff --git a/packages/core/src/application/application_tokens.ts b/packages/core/src/application/application_tokens.ts index ef389741c01..40ba815879f 100644 --- a/packages/core/src/application/application_tokens.ts +++ b/packages/core/src/application/application_tokens.ts @@ -50,7 +50,7 @@ const DEFAULT_APP_ID = 'ng'; /** * A function that is executed when a platform is initialized. * - * @deprecated from v18.1.0, use providePlatformInitializer instead + * @deprecated from v19.0.0, use providePlatformInitializer instead * * @see {@link providePlatformInitializer} *