-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Closed
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimestate: has PR
Milestone
Description
Which @angular/* package(s) are relevant/related to the feature request?
@angular/core
Description
Currently, I have to infer the type by using NonNullable<Parameters<ViewContainerRef["createComponent"]>[5]>.
It would be much cleaner if DirectiveWithBindings is exported so that it can be used when building an array for directives with bindings with viewContainerRef.createComponent.
Proposed solution
Export DirectiveWithBindings from @angular/core.
Alternatives considered
I am currently using the type NonNullable<Parameters<ViewContainerRef["createComponent"]>[5]>.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimestate: has PR