Skip to content

Commit

Permalink
Fix ParsedQuery type to allow null in array (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
bug-brain authored Feb 5, 2022
1 parent a5f3ccc commit 5331579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export interface ParseOptions {
}

export interface ParsedQuery<T = string> {
[key: string]: T | T[] | null;
[key: string]: T | null | Array<T | null>;
}

/**
Expand Down

0 comments on commit 5331579

Please sign in to comment.