ethjs-query icon indicating copy to clipboard operation
ethjs-query copied to clipboard

Add Type Definitions File

Open BboyAkers opened this issue 5 years ago • 0 comments

ethjs-query

Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.

Before opening a new issue, you may find an answer in already closed issues: https://github.com/ethjs/ethjs-query/issues?q=is%3Aissue+is%3Aclosed

Issue Type

  • [ ] Bug (https://github.com/ethjs/ethjs-query/blob/master/.github/CONTRIBUTING.md#bug-reports)
  • [x] Feature (https://github.com/ethjs/ethjs-query/blob/master/.github/CONTRIBUTING.md#feature-requests)

Description

Adding a type definition file will be heavily beneficial for libraries using this and re-writing their codebase to TypeScript.

Example: https://github.com/BboyAkers/nonce-tracker

Currently re-writing MetaMask/nounce-tracker to TypeScript and EthQuery is labeled having an any type.

Steps to reproduce

(Add link to a demo on https://jsfiddle.net or similar if possible)

Versions

  • Node/NPM:
  • Browser:

BboyAkers avatar Oct 31 '20 07:10 BboyAkers