We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cc74cc commit d14c2e5Copy full SHA for d14c2e5
src/common/util.ts
@@ -110,5 +110,5 @@ export const getFirstString = (value: string | string[] | object | undefined): s
110
return value[0]
111
}
112
113
- return typeof value !== "object" ? value : undefined
+ return typeof value === "string" ? value : undefined
114
0 commit comments