porsager / porsager/postgres

Missing TypeScript type for `sslnegotiation` option

Open
#1,158 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
8.7k
Forks
374
Avg merge
11d 16h
Merged PRs (30d)
1

Description

sslnegotiation was added in v3.4.8 but types/index.d.ts was not updated, causing a type error when used with TypeScript.

ref: https://github.com/porsager/postgres/commit/7f809802552c72397b8953e24c12f5458c56adb3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in types/index.d.ts and compare the missing sslnegotiation option with the referenced commit, 7f809802552c72397b8953e24c12f5458c56adb4. The issue is done when using this option with TypeScript no longer produces a type error.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, typescript
Domain
databases
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.