- Notifications
You must be signed in to change notification settings - Fork26.7k
Open
Description
Which @angular/* package(s) are the source of the bug?
core
Is this a regression?
No
Description
When I try to provide platform initializer withprovidePlatformInitializer
, I've got type error.
constplatform=platformBrowser([providePlatformInitializer(()=>{}),]);
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
TS2322: Type EnvironmentProviders is not assignable to type StaticProvider
Please provide the environment you discovered this bug in (runng version
)
Anything else?
No response
Metadata
Metadata
Assignees
Labels
No labels