feat(ivy): support generation of flags for directive injection (#23345)
This change changes: - compiler uses `directiveInject` instead of `inject` for `Directive`s - unifies the flags in `di` as well as `render3` - changes the signature of `directiveInject` to match `inject` In prep for #23330 - compiler now generates flags for injection. Compiler portion of #23342 Prep for #23330 PR Close #23345
This commit is contained in:
4
tools/public_api_guard/core/core.d.ts
vendored
4
tools/public_api_guard/core/core.d.ts
vendored
@ -376,8 +376,10 @@ export interface InjectDecorator {
|
||||
|
||||
export declare const enum InjectFlags {
|
||||
Default = 0,
|
||||
SkipSelf = 1,
|
||||
Host = 1,
|
||||
Self = 2,
|
||||
SkipSelf = 4,
|
||||
Optional = 8,
|
||||
}
|
||||
|
||||
export declare class InjectionToken<T> {
|
||||
|
Reference in New Issue
Block a user