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 8bb2b28 commit 87ebd28Copy full SHA for 87ebd28
.gitignore
@@ -28,4 +28,5 @@ _elasticdata
28
29
out
30
storybook-static
31
-.next
+.next
32
+*.tgz
src/components/result/utils.ts
@@ -1,4 +1,4 @@
1
-export function autoUnwrap(item?: string | { raw: string }) {
+export function autoUnwrap(item?: string | { raw?: string }) {
2
if (!item) {
3
return undefined
4
} else if (typeof item === "string") {
@@ -10,7 +10,7 @@ export function autoUnwrap(item?: string | { raw: string }) {
10
}
11
12
13
-export function autoUnwrapArray(item?: string[] | { raw: string[] }) {
+export function autoUnwrapArray(item?: string[] | { raw?: string[] }) {
14
15
return []
16
0 commit comments