Skip to content

Default behavior #18

@alexandrtovmach

Description

@alexandrtovmach

Hey there,
Thanks for useful helper package

Docs says that all options are "true" by default, which means that I can use it like this:

app.use(queryParser());

but I can't because of typescript, and passing empty object resetting options to undefined ⇾ false

Proposal

Made queryParser argument optional, and set all options to true by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions