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
Port missing in 'ConnectionConfig' TypeScript definition? #3367
Comments
Could you create a pr with the fix? |
isn't there separate interface for pg config in master, though? |
@kibertoad Sure! As for the config interfaces, I only see these: There isn't an interface called |
@kibertoad Just submitted a PR for a separate |
Released in 0.20.1 |
Environment
Knex version: 0.18.4
Database + version: Postgres 9.5
OS: macOS 10.14
If issue is about TypeScript definitions, tag @lorefnon.
Bug
(I'm opening this issue under the assumption that I'm supposed to use 'ConnectionConfig' to type my PG connection config object. If my assumption is wrong, then there seems to be a missing type definition for Postgres connection config?)
The
pg
library accepts aport
key, and passing theport
key to knex indeed works:but this key is missing in the
ConnectionConfig
interface.The text was updated successfully, but these errors were encountered: