Moves the public api .d.ts files from tools/public_api_guard to goldens/public-api. Additionally, provides a README in the goldens directory and a script assist in testing the current state of the repo against the goldens as well as a command for accepting all changes to the goldens in a single command. PR Close #35768
		
			
				
	
	
		
			18 lines
		
	
	
		
			1020 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			1020 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| export declare class RouterTestingModule {
 | |
|     static withRoutes(routes: Routes, config?: ExtraOptions): ModuleWithProviders<RouterTestingModule>;
 | |
| }
 | |
| 
 | |
| export declare function setupTestingRouter(urlSerializer: UrlSerializer, contexts: ChildrenOutletContexts, location: Location, loader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, routes: Route[][], opts?: ExtraOptions, urlHandlingStrategy?: UrlHandlingStrategy): Router;
 | |
| export declare function setupTestingRouter(urlSerializer: UrlSerializer, contexts: ChildrenOutletContexts, location: Location, loader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, routes: Route[][], urlHandlingStrategy?: UrlHandlingStrategy): Router;
 | |
| 
 | |
| export declare class SpyNgModuleFactoryLoader implements NgModuleFactoryLoader {
 | |
|     set stubbedModules(modules: {
 | |
|         [path: string]: any;
 | |
|     });
 | |
|     get stubbedModules(): {
 | |
|         [path: string]: any;
 | |
|     };
 | |
|     constructor(compiler: Compiler);
 | |
|     load(path: string): Promise<NgModuleFactory<any>>;
 | |
| }
 |