From 7bba5bbc96f8051d19dd3a212337c4ae21eb1c47 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Wed, 14 Dec 2022 12:50:18 +0100 Subject: [PATCH] Fix typo in a TypeScript type Fixes #362 --- base.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base.d.ts b/base.d.ts index cf3b592..0803e2a 100644 --- a/base.d.ts +++ b/base.d.ts @@ -171,7 +171,8 @@ export type ParseOptions = { readonly parseFragmentIdentifier?: boolean; }; -export type ParsedQuery = Record>; +// eslint-disable-next-line @typescript-eslint/ban-types +export type ParsedQuery = Record>; /** Parse a query string into an object. Leading `?` or `#` are ignored, so you can pass `location.search` or `location.hash` directly.