feat(projects): Add type to TabRoute: matched

This commit is contained in:
Azir
2024-02-06 17:51:40 +08:00
committed by GitHub
parent a9c98d9655
commit 2d102a054a

View File

@ -170,7 +170,7 @@ declare namespace App {
}; };
/** Tab route */ /** Tab route */
type TabRoute = Pick<RouteLocationNormalizedLoaded, 'name' | 'path' | 'meta'> & type TabRoute = Pick<RouteLocationNormalizedLoaded, 'name' | 'path' | 'meta' | 'matched'> &
Partial<Pick<RouteLocationNormalizedLoaded, 'fullPath' | 'query'>>; Partial<Pick<RouteLocationNormalizedLoaded, 'fullPath' | 'query'>>;
/** The global tab */ /** The global tab */