From 3a47af436e1a6148d11e249d6118c075682a7c21 Mon Sep 17 00:00:00 2001 From: Henrique Bruno Date: Thu, 6 Jan 2022 23:48:18 -0300 Subject: [PATCH] Allow readonly array in where --- src/where/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/where/index.ts b/src/where/index.ts index 804b44f9..385fd442 100644 --- a/src/where/index.ts +++ b/src/where/index.ts @@ -23,7 +23,7 @@ function where( function where( field: Key | [Key] | DocId, filter: 'in', - value: string[] + value: string[] | readonly string[] ): WhereQuery // Basic filter variation