chore: fix type annotations (#6600)

This commit is contained in:
非法操作
2024-07-25 11:21:51 +08:00
committed by GitHub
parent 9815aab7a3
commit 585444c50c
12 changed files with 27 additions and 21 deletions

View File

@@ -23,13 +23,13 @@ export type NavItem = {
link: string
icon: string
icon_background: string
mode: string
mode?: string
}
export type INavSelectorProps = {
navs: NavItem[]
curNav?: Omit<NavItem, 'link'>
createText: string
isApp: boolean
isApp?: boolean
onCreate: (state: string) => void
onLoadmore?: () => void
}