Skip to content

Commit a4b8691

Browse files
committed
fix: options is an Array
1 parent b7200c4 commit a4b8691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Select/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { fontSizeFromTheme } from '../styled-utils';
1515
/** As described in https://4x.ant.design/components/select/#components-select-demo-optgroup. */
1616
export type GroupedOptionType = {
1717
label: string;
18-
options: DefaultOptionType;
18+
options: Array<DefaultOptionType>;
1919
};
2020

2121
export type { DefaultOptionType } from 'antd/lib/select';

0 commit comments

Comments
 (0)