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
Request parameters are of the type ParsedQs (see @types/qs). Here's the
type definition:
interface ParsedQs { [key: string]: undefined | string | string[] | ParsedQs | ParsedQs[] }
Note that the params aren't converted to JS types by default.
Currently, these query params are casted to an interface with boolean
values, but TypeScript doesn't convert these string params at
runtime (rather, TypeScript is only useful on compile time), so a
`string` is used where a `boolean` is expected.
To reproduce the error, uncomment the test labelled with FIXME.
0 commit comments