Add `useBigInt` option to TypeScript definitions

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

Nobody has claimed this yet.

Assessment

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

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.

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?

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

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.

More from sql-js/sql.js

All issues in sql-js/sql.js

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.