File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -339,11 +339,11 @@ export interface StringifyOptions {
339
339
readonly skipEmptyString ?: boolean ;
340
340
}
341
341
342
- export type Stringifiable = string | boolean | number ;
342
+ export type Stringifiable = string | boolean | number | null | undefined ;
343
343
344
344
export type StringifiableRecord = Record <
345
345
string ,
346
- Stringifiable | Stringifiable [ ] | null | undefined
346
+ Stringifiable | Stringifiable [ ]
347
347
> ;
348
348
349
349
/**
Original file line number Diff line number Diff line change @@ -98,9 +98,12 @@ expectType<string>(
98
98
queryString . stringifyUrl ( {
99
99
url : 'https://sindresorhus.com' ,
100
100
query : {
101
- fooArray : [
101
+ fooMixedArray : [
102
102
'a' ,
103
- 'b'
103
+ 1 ,
104
+ true ,
105
+ null ,
106
+ undefined
104
107
] ,
105
108
fooNumber : 1 ,
106
109
fooBoolean : true ,
You can’t perform that action at this time.
0 commit comments