Skip to content

Commit e6fed1f

Browse files
authored
fix(projects): The matched value of TabRoute should be optional
1 parent 5d75ca9 commit e6fed1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/typings/app.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ declare namespace App {
170170
};
171171

172172
/** Tab route */
173-
type TabRoute = Pick<RouteLocationNormalizedLoaded, 'name' | 'path' | 'meta' | 'matched'> &
174-
Partial<Pick<RouteLocationNormalizedLoaded, 'fullPath' | 'query'>>;
173+
type TabRoute = Pick<RouteLocationNormalizedLoaded, 'name' | 'path' | 'meta'> &
174+
Partial<Pick<RouteLocationNormalizedLoaded, 'fullPath' | 'query' | 'matched'>>;
175175

176176
/** The global tab */
177177
type Tab = {

0 commit comments

Comments
 (0)