fix error TS2322 part 3

This commit is contained in:
chungyau97
2024-01-14 03:38:14 +08:00
parent 203b182cd5
commit 4d15e886fe
3 changed files with 61 additions and 17 deletions
+2 -2
View File
@@ -675,11 +675,11 @@ export const convertBaseMessagetoIMessage = (messages: BaseMessage[]): IMessage[
}
/**
* Convert String to Array String
* Convert MultiOptions String to String Array
* @param {string} inputString
* @returns {string[]}
*/
export const convertStringToArrayString = (inputString: string): string[] => {
export const convertMultiOptionsToStringArray = (inputString: string): string[] => {
let ArrayString: string[] = []
if (inputString) {
try {