chore: perfect type definition (#1003)
This commit is contained in:
parent
16199e968e
commit
f9bec1edf8
35 changed files with 123 additions and 105 deletions
|
|
@ -66,7 +66,7 @@ const SegmentCard: FC<ISegmentCardProps> = ({
|
|||
hit_count,
|
||||
index_node_hash,
|
||||
answer,
|
||||
} = detail as any
|
||||
} = detail as Required<ISegmentCardProps>['detail']
|
||||
const isDocScene = scene === 'doc'
|
||||
const [showModal, setShowModal] = useState(false)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue