Skip to content

Bug: Lodash type mismatch #1

@ChananM

Description

@ChananM

Type definition mismatch: isMatchWith customizer function allows truthy/falsy values but TypeScript types restrict to boolean | undefined

Summary

Lodash has type definition mismatch

To Reproduce
Steps to reproduce the behavior:

  1. Clone the repo:

    git clone https://github.com/example-org/terraform-infra.git
    cd terraform-infra
  2. Run type check with:

    npm run validate
  3. Observe that type check fails.

Expected behavior
Lodash should pass type checks.

Actual behavior
Lodash fails type checks:

remote: fatal: did not receive expected object 15151bb95dcb2cf23bdddcf5ae3fdfb43b816588
error: remote unpack failed: index-pack failed

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