51 lines
1.9 KiB
Markdown
51 lines
1.9 KiB
Markdown
## API Report File for "@angular/router_testing"
|
|
|
|
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
|
|
```ts
|
|
|
|
import { ChildrenOutletContexts } from '@angular/router';
|
|
import { Compiler } from '@angular/core';
|
|
import { ExtraOptions } from '@angular/router';
|
|
import { Injector } from '@angular/core';
|
|
import { Location as Location_2 } from '@angular/common';
|
|
import { ModuleWithProviders } from '@angular/core';
|
|
import { NgModuleFactory } from '@angular/core';
|
|
import { NgModuleFactoryLoader } from '@angular/core';
|
|
import { Route } from '@angular/router';
|
|
import { Router } from '@angular/router';
|
|
import { Routes } from '@angular/router';
|
|
import { UrlHandlingStrategy } from '@angular/router';
|
|
import { UrlSerializer } from '@angular/router';
|
|
|
|
// @public
|
|
export class RouterTestingModule {
|
|
// (undocumented)
|
|
static withRoutes(routes: Routes, config?: ExtraOptions): ModuleWithProviders<RouterTestingModule>;
|
|
}
|
|
|
|
// @public
|
|
export function setupTestingRouter(urlSerializer: UrlSerializer, contexts: ChildrenOutletContexts, location: Location_2, loader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, routes: Route[][], opts?: ExtraOptions, urlHandlingStrategy?: UrlHandlingStrategy): Router;
|
|
|
|
// @public @deprecated
|
|
export function setupTestingRouter(urlSerializer: UrlSerializer, contexts: ChildrenOutletContexts, location: Location_2, loader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, routes: Route[][], urlHandlingStrategy?: UrlHandlingStrategy): Router;
|
|
|
|
// @public
|
|
export class SpyNgModuleFactoryLoader implements NgModuleFactoryLoader {
|
|
constructor(compiler: Compiler);
|
|
// (undocumented)
|
|
load(path: string): Promise<NgModuleFactory<any>>;
|
|
set stubbedModules(modules: {
|
|
[path: string]: any;
|
|
});
|
|
// (undocumented)
|
|
get stubbedModules(): {
|
|
[path: string]: any;
|
|
};
|
|
}
|
|
|
|
|
|
// (No @packageDocumentation comment for this package)
|
|
|
|
```
|