Commit Graph

6 Commits

Author SHA1 Message Date
TJDawson10 9679bc6d1f
chore: typecheck web3.js tests (#29422)
* fix: web3.js test typescript errors

Fixes the typescript errors throughout the
web3.js test suite

* fix: node14 test

AbortController is a default in node16 but needs
to be imported for node14

* fix: additional typescript errors

Adds the tests to the tsconfig to auto-include mocha
and fixes remaining typescript errors

* fix: graphql-tools to work with typescript

version of graphql-tools initially installed has incompatible
types preventing ./scripts/typegen.sh from passing when tests
are added to the include path of tsconfig.json

* Don't build typedefs for tests

Co-authored-by: steveluscher <me+github@steveluscher.com>
2022-12-29 15:02:21 -08:00
Andrey Frolov 59290c08aa
fix: add type-check script to web3.js package (#23109) 2022-03-23 12:58:42 -07:00
Justin Starry 4fb1c9da26
fix: update buffer-layout to fix downstream bundler issues (#18529)
* fix: update buffer-layout to fix downstream bundler issues

* chore: run check on generated type declaration
2021-07-08 20:01:11 -05:00
Justin Starry c959c5daf7
fix: add explicit module declaration to type definitions (#16219) 2021-03-30 20:16:31 +08:00
Justin Starry 8ada44456d chore: migrate tests to typescript 2021-03-17 10:26:00 +08:00
Justin Starry 3eb9f7b3eb chore: project config changes for typescript migration 2021-03-17 10:26:00 +08:00