Dependencies of TypeChain ( prettier, ethers ) should be upgraded.
prettier conflicts with prettier-plugin-solidity plugin because prettier-plugin-solidity depends on prettier v3 which returns promise on format API while v2 would return a string.
This cause conflict that either prettier-plugin-solidity being broken or typechain operations being broken.
Also TypeChain should use less dependencies as possible and rely on latest node APIs as possible to avoid future conflicts like this.