sql-js / sql-js/sql.js

Add `useBigInt` option to TypeScript definitions

Open
#474 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
13.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

The current copy of https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/sql.js/index.d.ts does not have any reference to useBigInt, so I am unable to pass that option in to exec() statements. Whoever is the maintainer of those TypeScript defs, could you please add this new option?

Contributor guide

Open the contributing guide

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 with types/sql.js/index.d.ts in DefinitelyTyped, which the issue identifies as missing the useBigInt option for exec() statements. Check the existing exec() definition and the sql.js API reference for that option, then update the declaration so TypeScript accepts it and verify the definition compiles.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.