Skip to content

Commit c421c69

Browse files
committed
fix(antd): fix typings
1 parent 1656373 commit c421c69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/antd/src/form-collapse/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { toArr } from '@formily/shared'
1616
type ActiveKeys = string | number | Array<string | number>
1717

1818
type ActiveKey = string | number
19-
interface IFormCollapse {
19+
export interface IFormCollapse {
2020
activeKeys: ActiveKeys
2121
hasActiveKey(key: ActiveKey): boolean
2222
setActiveKeys(key: ActiveKeys): void
@@ -25,7 +25,7 @@ interface IFormCollapse {
2525
toggleActiveKey(key: ActiveKey): void
2626
}
2727

28-
interface IFormCollapseProps extends CollapseProps {
28+
export interface IFormCollapseProps extends CollapseProps {
2929
formCollapse?: IFormCollapse
3030
}
3131

0 commit comments

Comments
 (0)