ci: add router/testing to public API guard

This commit is contained in:
Jason Aden
2017-12-15 09:58:42 -08:00
committed by Alex Rickabaugh
parent 4a3a74b7b0
commit 4a49e19bd7
4 changed files with 52 additions and 10 deletions

View File

@ -0,0 +1,16 @@
/** @stable */
export declare class RouterTestingModule {
static withRoutes(routes: Routes): ModuleWithProviders;
}
/** @stable */
export declare function setupTestingRouter(urlSerializer: UrlSerializer, contexts: ChildrenOutletContexts, location: Location, loader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, routes: Route[][], urlHandlingStrategy?: UrlHandlingStrategy): Router;
/** @stable */
export declare class SpyNgModuleFactoryLoader implements NgModuleFactoryLoader {
stubbedModules: {
[path: string]: any;
};
constructor(compiler: Compiler);
load(path: string): Promise<NgModuleFactory<any>>;
}