Skip to content

Commit 511765a

Browse files
authored
chore: bump ver (#441)
1 parent 48c3894 commit 511765a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"dependencies": {
7373
"@babel/runtime": "^7.10.1",
7474
"classnames": "2.x",
75-
"rc-select": "~14.8.0",
75+
"rc-select": "~14.9.0",
7676
"rc-tree": "~5.7.0",
7777
"rc-util": "^5.16.1"
7878
}

src/hooks/useFilterTreeData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default (
3838
}
3939

4040
function dig(list: DefaultOptionType[], keepAll: boolean = false) {
41-
return list.reduce((total, dataNode) => {
41+
return list.reduce<DefaultOptionType[]>((total, dataNode) => {
4242
const children = dataNode[fieldChildren];
4343

4444
const match = keepAll || filterOptionFunc(searchValue, fillLegacyProps(dataNode));

0 commit comments

Comments
 (0)