fix(projects): The matched value of TabRoute should be optional

This commit is contained in:
Azir 2024-02-11 13:52:03 +08:00 committed by GitHub
parent 5d75ca924e
commit e6fed1fdb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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