From 8b70fe7664a629435bd14951214b19b2664dafd6 Mon Sep 17 00:00:00 2001 From: ztplz Date: Tue, 27 Nov 2018 23:21:45 +0800 Subject: [PATCH] Correct type --- components/mention/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 => {