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
This commit is contained in:
Pawel Fras 2024-10-23 12:31:43 +02:00 committed by Andrew Kushnir
parent 9cd9428992
commit 5fde27b8a4
2 changed files with 2 additions and 3 deletions

View file

@ -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}

View file

@ -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}
*