I have a repo for a typechain project and need to do
import { PublicKeyToAddressInstance } from "../typechain-truffle/contracts/PublicKeyToAddress";
here to import the type definitions. I've seen it is usually done as
import { PublicKeyToAddressInstance } from "../typechain-truffle";
This works for me, but the type for contract methods is always any
.