summaryrefslogtreecommitdiff
path: root/src/common/text/parse
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-03-31 21:41:08 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-03-31 21:41:08 +0900
commit3178bb20c72380c4379e7b72afa7e468d24e3e97 (patch)
tree5c6850f93da08e3e28d0993368e1f69781278257 /src/common/text/parse
parentMerge pull request #1341 from akihikodaki/github (diff)
downloadsharkey-3178bb20c72380c4379e7b72afa7e468d24e3e97.tar.gz
sharkey-3178bb20c72380c4379e7b72afa7e468d24e3e97.tar.bz2
sharkey-3178bb20c72380c4379e7b72afa7e468d24e3e97.zip
Use Vue rendering function
and some refactors
Diffstat (limited to 'src/common/text/parse')
-rw-r--r--src/common/text/parse/index.ts2
1 files changed, 1 insertions, 1 deletions
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;