Vmeda.Online/patches/@angular+router+17.3.12.patch

14 lines
661 B
Diff
Raw Normal View History

diff --git a/node_modules/@angular/router/index.d.ts b/node_modules/@angular/router/index.d.ts
index 1e9ac27..5c60dba 100755
--- a/node_modules/@angular/router/index.d.ts
+++ b/node_modules/@angular/router/index.d.ts
@@ -58,7 +58,7 @@ export declare class ActivatedRoute {
/** The component of the route, a constant. */
component: Type<any> | null;
/** The current snapshot of this route */
- snapshot: ActivatedRouteSnapshot;
+ snapshot?: ActivatedRouteSnapshot;
/** An Observable of the resolved route title */
readonly title: Observable<string | undefined>;
/** An observable of the URL segments matched by this route. */