Skip to content

require.undef() interface does not include recursive argument #126

@kitsonk

Description

@kitsonk

Bug

The interface definition of require.undef() does not include the second optional argument of recursive.

Package Version: beta1

Code

require.undef('some/mid', true); // throws TypeScript error

Expected behavior:

Works without issue.

Actual behavior:

Complains that supplied arguments do not match the signature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions