-
Notifications
You must be signed in to change notification settings - Fork 26.7k
Open
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtime
Milestone
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 with providePlatformInitializer
, I've got type error.
const platform = 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 (run ng version
)
Anything else?
No response
zy2ba
Metadata
Metadata
Assignees
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtime