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.
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 existingd.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.