Closed sirius651 closed 2 years ago
Can you provide details on your setup and steps to reproduce?
As far as I know @sirius651, the examples work with this type of dependency so it might be an issue with your tsconfig.json
.
https://github.com/webb-tools/astar.js/blob/main/examples/index.ts
@drewstone I just installed as yarn add @astar-network/astar-api
, then add import { options } from '@astar-network/astar-api';
.
here's our tsconfig.json
: https://github.com/AstarNetwork/astar-apps/blob/main/tsconfig.json
What parameters should we put in to match compatibility? other third party library works smoothly without custom config though
@drewstone Hello, any news for this?
We will have @sushi30 look into this and fix it up.
Hi. I updated the npm package. Please try reinstalling using the command in the README. Not that you might have to reinstall astar-api
yarn up @astar-network/astar-api@beta
Thanks, it works now
Describe the bug when I try to use
import { options } from '@astar-network/astar-api';
, it causes