perun-network / erdstall-ts-sdk

TypeScript client SDK to interact with Erdstall.
Apache License 2.0
5 stars 2 forks source link

Also emit existing contract declaration files #72

Closed ndzik closed 3 years ago

ndzik commented 3 years ago

When building and publishing our package, we give access to the contracts we use. Although some of those definitions are usable for the user, they are lacking type information resulting in every contract related function to be of the any type.

Since tsc does not yet support emitting already existing d.ts files, one is required to work around this by copying/overwriting them in the output. This PR does exactly that and also updates the erdstall-contracts dependency to the latest version.