From 56d29234a25899794de14c33d1df44989f659070 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sun, 13 Sep 2020 13:43:06 +0200 Subject: [PATCH] Fix the `ParsedQuery` TypeScript typ Fixes #273 --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index b3a3c99a..343a68ec 100644 --- a/index.d.ts +++ b/index.d.ts @@ -121,7 +121,7 @@ export interface ParseOptions { ``` */ readonly parseBooleans?: boolean; - + /** Parse the fragment identifier from the URL and add it to result object. @@ -139,7 +139,7 @@ export interface ParseOptions { } export interface ParsedQuery { - [key: string]: T | T[] | null | undefined; + [key: string]: T | T[] | null; } /**