feat(zhst/biz): 修复一些ts报错
This commit is contained in:
parent
12e5046f53
commit
27958367ff
@ -18,7 +18,8 @@ import { IconFont } from '@zhst/icon';
|
|||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import './index.less'
|
import './index.less'
|
||||||
|
|
||||||
interface IOption {
|
// @ts-ignore
|
||||||
|
export interface IOption {
|
||||||
label: string
|
label: string
|
||||||
key: string
|
key: string
|
||||||
icon?: string | ReactNode
|
icon?: string | ReactNode
|
||||||
@ -29,7 +30,7 @@ interface IOption {
|
|||||||
dropdownConfig?: DropDownProps
|
dropdownConfig?: DropDownProps
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ITag {
|
export interface ITag {
|
||||||
label: string
|
label: string
|
||||||
value: string
|
value: string
|
||||||
icon?: ReactNode
|
icon?: ReactNode
|
||||||
|
Loading…
Reference in New Issue
Block a user