feat(router): rename UrlPathWithParams into UrlSegment
BREAKING CHANGE: UrlPathWithParams => UrlSegment UrlSegment => UrlSegmentGroup
This commit is contained in:
8
tools/public_api_guard/router/index.d.ts
vendored
8
tools/public_api_guard/router/index.d.ts
vendored
@ -5,7 +5,7 @@ export declare class ActivatedRoute {
|
||||
outlet: string;
|
||||
params: Observable<Params>;
|
||||
snapshot: ActivatedRouteSnapshot;
|
||||
url: Observable<UrlPathWithParams[]>;
|
||||
url: Observable<UrlSegment[]>;
|
||||
toString(): string;
|
||||
}
|
||||
|
||||
@ -15,7 +15,7 @@ export declare class ActivatedRouteSnapshot {
|
||||
data: Data;
|
||||
outlet: string;
|
||||
params: Params;
|
||||
url: UrlPathWithParams[];
|
||||
url: UrlSegment[];
|
||||
toString(): string;
|
||||
}
|
||||
|
||||
@ -251,7 +251,7 @@ export declare class RoutesRecognized {
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare class UrlPathWithParams {
|
||||
export declare class UrlSegment {
|
||||
parameters: {
|
||||
[key: string]: string;
|
||||
};
|
||||
@ -274,6 +274,6 @@ export declare class UrlTree {
|
||||
queryParams: {
|
||||
[key: string]: string;
|
||||
};
|
||||
root: UrlSegment;
|
||||
root: UrlSegmentGroup;
|
||||
toString(): string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user