Skip to content

Checking options length #50

@buglessir

Description

@buglessir

https://github.com/bitvavo/node-bitvavo-api/blame/70f300e74a69795b850c966136905db6844ce8ac/lib/utils.js#L10

As you said here:

@param {{ [key: string]: string | number | boolean }} options

The type of options can be string | number | boolean, but is it possible to calculate the length of number or boolean ?
I think there is a possibility of error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions