test(ivy): add global utils to the public_api_guard test (#27008)

This API is part of our public api surface and needs to be monitored by the public_api_guard.

I also had to go back and mark all of the exported functions with @publicApi jsdoc tag.

PR Close #27008
This commit is contained in:
Igor Minar
2018-11-08 18:25:33 +01:00
committed by Andrew Kushnir
parent e618032d53
commit 499e303ea3
7 changed files with 64 additions and 4 deletions

View File

@ -0,0 +1,11 @@
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[];