This commit is contained in:
syuilo
2017-10-07 06:58:50 +09:00
parent 1d4f9378ca
commit fe98dd927d
15 changed files with 28 additions and 15 deletions

View File

@ -2,7 +2,7 @@
* 稿
* @param {*} post 稿
*/
const summarize = post => {
const summarize = (post: any): string => {
let summary = post.text ? post.text : '';
// メディアが添付されているとき