Merge pull request #316 from Azir-11/main

fix(projects): The matched value of TabRoute should be optional
This commit is contained in:
Soybean 2024-02-17 18:42:16 +08:00 committed by GitHub
commit 114c835921
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 = {