diff --git a/src/common/util.ts b/src/common/util.ts index 67e182ce..b4f66be2 100644 --- a/src/common/util.ts +++ b/src/common/util.ts @@ -110,5 +110,5 @@ export const getFirstString = (value: string | string[] | object | undefined): s return value[0] } - return typeof value !== "object" ? value : undefined + return typeof value === "string" ? value : undefined }