Skip to content

0.13.4 misses @types/validator #79

@SchroederSteffen

Description

@SchroederSteffen

Did you read the migration guide?

  • I have read the whole migration guide (there is none)

Is there an existing issue that is already proposing this?

  • I have searched the existing issues

Potential Commit/PR that introduced the regression

PR #72

Versions

0.13.3 -> 0.13.4

Describe the regression

Hi,

We upgraded to @nestjs/[email protected] and receive the following error during nest build:

Could not find a declaration file for module 'validator'.
Try `npm i --save-dev @types/validator` if it exists or add a new declaration (.d.ts) file containing `declare module 'validator';`

I saw that #72 removes the dependency.
Has this been an accidental merge issue or are we expected to install @types/validator ourselves?

Cheers,
Steffen

Minimum reproduction code

No response

Expected behavior

@nestjs/class-validator should work out-of-the-box.

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions