Files
anonklub/global.d.ts
sripwoud 114ba41c28 🔀 Merge staging
* ♻️ Define `@anonklub/{cli,proof,query,test}` (#30)

* rename 3pwd to sripwoud

* move `membership` and `demo` to `@anonklub`. Rename `@anonset` to `@anonklub`

* Create `@anonklub/query`

* Define functions to fetch anon sets from query API

* test fetchCryptoPunksAnonset

* refactor: use generic for query functions

* define test-utils pkg

* refactor, format

* test: fetch{Erc20,Eth}AnonSet

* move @anonklub/test-utils into root/test

* extends from root tsconfig.json

* fix glob in turbo.json

* move fetch type def into root global.d.ts

* fix tsc errors

* edit eslint and barrelsby config

* bump test deps

* use jest preset defined in shared local test package

* relax tsconfig

Allow for uncheckedIndexedAccess

* refactor query methods into OOP

* test

* format

* fix lint config

Need to exclude root tsconfig.json to avoid cricular deps as we extend from it

* chore: lint

* chore: lint, format

* fix: increase memory allocation when running eslint

* add tsconfig references

* refactor jest config files into using custom anonklub preset (#31)

* fix Dockerfile

Need to copy root global.d.ts and tsconfig.json and test package
2023-08-09 12:44:24 +02:00

4 lines
75 B
TypeScript

import 'jest-fetch-mock'
declare let fetch: typeof import('undici').fetch