hadronous / pic-js

An Internet Computer Protocol canister testing library for TypeScript and JavaScript.
https://hadronous.github.io/pic-js/
Apache License 2.0
11 stars 6 forks source link

Add note about declaration file "shim" #4

Closed nathanosdev closed 10 months ago

nathanosdev commented 10 months ago

Due to a combination of a missing type in the generated types from Candid, and a decision to auto-create actors in the additional files from DFX, a "shim" is required to make the declaration files work. This should be explained clearly in the docs.

nathanosdev commented 10 months ago

Fixed in https://github.com/hadronous/pic-js/pull/10