From 53315790fa01e0843c924cb07457fc0aecd4a745 Mon Sep 17 00:00:00 2001 From: bug-brain <40305896+bug-brain@users.noreply.github.com> Date: Sat, 5 Feb 2022 19:50:32 +0100 Subject: [PATCH] Fix `ParsedQuery` type to allow null in array (#338) --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 5633c5e..59de603 100644 --- a/index.d.ts +++ b/index.d.ts @@ -172,7 +172,7 @@ export interface ParseOptions { } export interface ParsedQuery { - [key: string]: T | T[] | null; + [key: string]: T | null | Array; } /**