refactor(router): update stability labels (#10902)

This commit is contained in:
Victor Savkin
2016-08-17 15:35:30 -07:00
committed by Kara
parent 4be863c223
commit 00e157dc3b
7 changed files with 18 additions and 18 deletions

View File

@ -252,12 +252,12 @@ export type ResolveData = {
};
/**
* @experimental
* @stable
*/
export type LoadChildrenCallback = () => Type<any>| Promise<Type<any>>| Observable<Type<any>>;
/**
* @experimental
* @stable
*/
export type LoadChildren = string | LoadChildrenCallback;

View File

@ -197,7 +197,7 @@ export interface CanDeactivate<T> {
*
* You can also provide a function with the same signature instead of the class.
*
* @experimental
* @stable
*/
export interface Resolve<T> {
resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot):

View File

@ -77,7 +77,7 @@ export const ROUTER_PROVIDERS: any[] = [
* class Lazy {}
* ```
*
* @experimental
* @stable
*/
@NgModule({declarations: ROUTER_DIRECTIVES, exports: ROUTER_DIRECTIVES})
export class RouterModule {

View File

@ -10,14 +10,14 @@
* Name of the primary outlet.
* @type {string}
*
* @experimental
* @stable
*/
export const PRIMARY_OUTLET = 'primary';
/**
* A collection of parameters.
*
* @experimental
* @stable
*/
export type Params = {
[key: string]: any

View File

@ -154,7 +154,7 @@ export function mapChildrenIntoArray<T>(
/**
* Defines a way to serialize/deserialize a url tree.
*
* @experimental
* @stable
*/
export abstract class UrlSerializer {
/**
@ -171,7 +171,7 @@ export abstract class UrlSerializer {
/**
* A default implementation of the serialization.
*
* @experimental
* @stable
*/
export class DefaultUrlSerializer implements UrlSerializer {
parse(url: string): UrlTree {

View File

@ -21,7 +21,7 @@ import {flatten} from '../src/utils/collection';
* A spy for {@link NgModuleFactoryLoader} that allows tests to simulate the loading of ng module
* factories.
*
* @experimental
* @stable
*/
@Injectable()
export class SpyNgModuleFactoryLoader implements NgModuleFactoryLoader {
@ -61,7 +61,7 @@ function setupTestingRouter(
* });
* ```
*
* @experimental
* @stable
*/
@NgModule({
exports: [RouterModule],