mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
Correct type
This commit is contained in:
parent
0e99b6ea72
commit
8b70fe7664
@ -78,7 +78,7 @@ export default class Mention extends React.Component<MentionProps, MentionState>
|
||||
}
|
||||
}
|
||||
|
||||
defaultSearchChange(value: String): void {
|
||||
defaultSearchChange(value: string): void {
|
||||
const searchValue = value.toLowerCase();
|
||||
const filteredSuggestions = (this.props.suggestions || []).filter(
|
||||
suggestion => {
|
||||
|
Loading…
Reference in New Issue
Block a user