Removed unnecessary function
parent
92d0417221
commit
c2fa0ce2a7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue