chore: fix type annotations (#6600)

This commit is contained in:
非法操作 2024-07-25 11:21:51 +08:00 • committed by GitHub
commit 585444c50c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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
}