fix: had set the wrong type for the return value

Signed-off-by: Mark David Avery <mark@webark.cc>
This commit is contained in:
Mark David Avery
2022-05-04 14:54:26 -07:00
parent 69bf1a83ed
commit 7bc5db06c8
@@ -32,7 +32,7 @@ function getPathArrayAndValue(input: Entity, field: string) {
return [pathArray, undefined];
},
[[] as unknown as string, input as any],
[[] as string[], input as any],
);
}