You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argument of type 'Partial<EncodedValueMap<{ x: QueryParamConfig<string | null | undefined, string | null | undefined>; }>>' is not assignable to parameter of type 'Record<string, string | number | boolean | Stringifiable[] | null | undefined>'.
Property 'x' is incompatible with index signature.
Type 'string | (string | null)[] | null | undefined' is not assignable to type 'string | number | boolean | Stringifiable[] | null | undefined'.
Type '(string | null)[]' is not assignable to type 'string | number | boolean | Stringifiable[] | null | undefined'.
Type '(string | null)[]' is not assignable to type 'Stringifiable[]'.
Type 'string | null' is not assignable to type 'Stringifiable'.
Type 'null' is not assignable to type 'Stringifiable'.
Initially I thought this was an error with how ArrayParams we're handled but it seems to affect every param type I've tried, also not sure if this is an issue related to this library or query-string but this made most sense to me.
Thanks for bringing this up, it looks like perhaps their new types are wrong. I'd suggest using an older version until they/we can fix the issue. I'll make an issue on their repo to figure it out.
Code:
Error:
Initially I thought this was an error with how ArrayParams we're handled but it seems to affect every param type I've tried, also not sure if this is an issue related to this library or query-string but this made most sense to me.
[email protected] release
The text was updated successfully, but these errors were encountered: