angular-cn/tools/public_api_guard/global_utils.d.ts

12 lines
432 B
TypeScript

export declare function getComponent<T = {}>(target: {}): T | null;
export declare function getDirectives(target: {}): Array<{}>;
export declare function getHostComponent<T = {}>(target: {}): T | null;
export declare function getInjector(target: {}): Injector;
export declare function getPlayers(ref: ComponentInstance | DirectiveInstance | HTMLElement): Player[];
export declare function getRootComponents(target: {}): any[];