-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
@types/pg as dev dependency #218
Comments
I came here to report the same issue, but decided to check first for a possible explanation. Why was this issue closed as completed? The |
@kylewillmon I cannot remember why I decided to do it. Possibly due to that having it as a production dependency means it gets shipped as part of the An even better solution imo would be to bundle the declaration files in this repo and ship them with the installation, as the DefinitelyTyped (@types) repo is often considered a "backup" in case projects do not have their own types. Having types in the actual main project is preferable and recommended afaik. 🤷 |
In that case, I will open a PR. Thanks |
The type situations around express session has been a bit messy. I think I added it as a |
It was moved there in 7d20257, but I can't find a justification for doing so 🤔 |
Fixed in ea4a9c1 |
Released as |
Currently in https://github.com/voxpelli/node-connect-pg-simple/blob/main/package.json it has these dependencies:
@types/pg
should rather be a devDependency, as it makes no sense to include that in production code.The text was updated successfully, but these errors were encountered: