Skip to content

The compile method should throw with better error message on non-array #3

@kjellmorten

Description

@kjellmorten

When the compile() method is given anything other than an array, it throws as it calls the .map() method on it with no type checks. Throwing is okay in this instance, but it should be a TypeError stating what the method expects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions