New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Update to class-validator@0.13.2
generates error TS7016: Could not find a declaration file for module 'validator'.
#1412
Comments
Same error after updating |
Fixes locally by npm i --save-dev @types/validator but it's still a bug |
@kliuiev-io @KeithGillette which do you advise
|
I am guessing this is related to |
Really don't want to sticky my project to the previous version, any movement on this? |
Considering that |
While installing |
Any update on this? This was already fixed once before in the project's history. |
* temporary fix for this: typestack/class-validator#1412
please fix and merge :) |
Fixed in 12f8d86 |
@NoNameProvided Can we expect a new release that includes that fix? |
Yes |
This feature/fix has been released in |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Updating a project from
class-validator@0.13.1
toclass-validator@0.13.2
generates 16error TS7016: Could not find a declaration file for module 'validator'.
messages ontsc
transpilation whentsconfig.json
is configured with the defaultskipLibCheck: false
.Minimal code-snippet showcasing the problem
class-validator@0.13.2
removes@types/validator
from thepackage.json
dependencies
, which now requires consuming applications to manually add@types/validator
to avoiderror TS7016
on transpilation when the defaultskipLibCheck: false
.Expected behavior
Update from
0.13.1
to0.13.2
should allow project to build without error.Actual behavior
The text was updated successfully, but these errors were encountered: