diff --git a/components/mention/index.tsx b/components/mention/index.tsx index d5d27e2c91..98f5c0405c 100644 --- a/components/mention/index.tsx +++ b/components/mention/index.tsx @@ -78,7 +78,7 @@ export default class Mention extends React.Component } } - defaultSearchChange(value: String): void { + defaultSearchChange(value: string): void { const searchValue = value.toLowerCase(); const filteredSuggestions = (this.props.suggestions || []).filter( suggestion => {