mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Andrew Kushnir
parent
9cd9428992
commit
5fde27b8a4
@@ -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}
|
||||
|
||||
@@ -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}
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user