Version: dfx 0.7.0-beta.8
When dfx build a canister, let’s say it’s aliased as my_app, dfx output a set of files under the .dfx/local/canisters/my_app/ directory, the tree looks like:
my_app
├── my_app.did
├── my_app.wasm
├── my_app.did.js
├── my_app.d.ts # <- this one got the wrong name!
└── my_app.js
my_app.d.ts should really be named my_app.did.d.ts since it contains types for the my_app.did.js, not my_app.js. It’s crucial because typescript engine need the correct name to do mapping, else I got false alarm in my IDE.
I would open an issue if dfx had its own repo but it does not. cc @anon74414410