fix(ivy): align discovery methods for consistency (#27117)
PR Close #27117
This commit is contained in:
1
tools/public_api_guard/core/core.d.ts
vendored
1
tools/public_api_guard/core/core.d.ts
vendored
@ -454,6 +454,7 @@ export declare class KeyValueDiffers {
|
||||
/** @deprecated */ factories: KeyValueDifferFactory[];
|
||||
constructor(factories: KeyValueDifferFactory[]);
|
||||
find(kv: any): KeyValueDifferFactory;
|
||||
static ngInjectableDef: never;
|
||||
static create<S>(factories: KeyValueDifferFactory[], parent?: KeyValueDiffers): KeyValueDiffers;
|
||||
static extend<S>(factories: KeyValueDifferFactory[]): StaticProvider;
|
||||
}
|
||||
|
8
tools/public_api_guard/global_utils.d.ts
vendored
8
tools/public_api_guard/global_utils.d.ts
vendored
@ -1,11 +1,15 @@
|
||||
export declare function getComponent<T = {}>(target: {}): T | null;
|
||||
export declare function getComponent<T = {}>(element: Element): T | null;
|
||||
|
||||
export declare function getDirectives(target: {}): Array<{}>;
|
||||
|
||||
export declare function getHostComponent<T = {}>(target: {}): T | null;
|
||||
export declare function getHostElement<T>(directive: T): Element;
|
||||
|
||||
export declare function getInjector(target: {}): Injector;
|
||||
|
||||
export declare function getPlayers(ref: ComponentInstance | DirectiveInstance | HTMLElement): Player[];
|
||||
|
||||
export declare function getRootComponents(target: {}): any[];
|
||||
|
||||
export declare function getViewComponent<T = {}>(element: Element | {}): T | null;
|
||||
|
||||
export declare function markDirty<T>(component: T): void;
|
||||
|
Reference in New Issue
Block a user