Skip to content

Commit

Permalink
fix: 修复类型定义
Browse files Browse the repository at this point in the history
  • Loading branch information
hooray committed Apr 23, 2024
1 parent 14583bb commit 449495f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/global.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { RouteRecordRaw } from 'vue-router'
import type { RouteRecordName, RouteRecordRaw } from 'vue-router'

type RecursiveRequired<T> = {
[P in keyof T]-?: RecursiveRequired<T[P]>
Expand Down Expand Up @@ -284,7 +284,7 @@ declare namespace Tabbar {
interface recordRaw {
tabId: string
fullPath: string
routeName?: RouteRecordRaw.name
routeName?: RouteRecordName | null
title?: string | (() => string)
icon?: string
name: string[]
Expand Down

0 comments on commit 449495f

Please sign in to comment.