Skip to content

Commit

Permalink
fix(projects): The matched value of TabRoute should be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Azir-11 authored Feb 11, 2024
1 parent 5d75ca9 commit e6fed1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/typings/app.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit e6fed1f

Please sign in to comment.