We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c97b6b2 commit 7bba5bbCopy full SHA for 7bba5bb
base.d.ts
@@ -171,7 +171,8 @@ export type ParseOptions = {
171
readonly parseFragmentIdentifier?: boolean;
172
};
173
174
-export type ParsedQuery<T = string> = Record<string, T | undefined | Array<T | undefined>>;
+// eslint-disable-next-line @typescript-eslint/ban-types
175
+export type ParsedQuery<T = string> = Record<string, T | null | Array<T | null>>;
176
177
/**
178
Parse a query string into an object. Leading `?` or `#` are ignored, so you can pass `location.search` or `location.hash` directly.
0 commit comments