From 3178bb20c72380c4379e7b72afa7e468d24e3e97 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 31 Mar 2018 21:41:08 +0900 Subject: Use Vue rendering function and some refactors --- src/common/text/parse/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/text/parse') diff --git a/src/common/text/parse/index.ts b/src/common/text/parse/index.ts index 1e2398dc38..b958da81b0 100644 --- a/src/common/text/parse/index.ts +++ b/src/common/text/parse/index.ts @@ -14,7 +14,7 @@ const elements = [ require('./elements/emoji') ]; -export default (source: string) => { +export default (source: string): any[] => { if (source == '') { return null; -- cgit v1.2.3-freya