Skip to content

Commit d439910

Browse files
committed
Explicitly permit any array as aql bindvar
1 parent a9d9e00 commit d439910

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/aql-query.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ export type AqlValue =
2222
| boolean
2323
| null
2424
| undefined
25-
| object;
25+
| object
26+
| any[];
2627

2728
export function isAqlQuery(query: any): query is AqlQuery {
2829
return Boolean(query && query.query && query.bindVars);

0 commit comments

Comments
 (0)