Removed unnecessary function

merge-requests/1/merge
Bsian 2019-10-16 00:25:09 +01:00
parent 92d0417221
commit c2fa0ce2a7
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 0 additions and 5 deletions

View File

@ -1,9 +1,4 @@
/* eslint-disable no-param-reassign */
function resolveString(data: any) {
if (typeof data === 'string') return data;
if (data instanceof Array) return data.join('\n');
return String(data);
}
export default class RichEmbed {
title?: string