You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rolled up exports uses export * as ____ syntax and there's no way to turn it off. My type compiler vite:dts cannot understand the index.ts file that is produced because of this.
error during build:
Error: [vite:dts] The "export * as ___" syntax is not supported yet; as a workaround, use "import * as ___" with a separate "export { ___ }" declaration
/Users/johnshankman/Documents/manifoldxyz/burn-redeem-contracts/dist/contracts/ethers/index.d.ts:10:8
There's no way to control how this is generated using the typechain command
Solution
Use older import * as syntax with export at the end of the file. That way there's 0 chance of ever having compatibility issues with outside packages like vite-dts etc. No need to use new school syntax on such a simple file being autogenerated.
The text was updated successfully, but these errors were encountered:
The rolled up exports uses
export * as ____
syntax and there's no way to turn it off. My type compilervite:dts
cannot understand theindex.ts
file that is produced because of this.See: https://github.com/dethcrypto/TypeChain?tab=readme-ov-file#cli
There's no way to control how this is generated using the typechain command
Solution
Use older
import * as
syntax withexport
at the end of the file. That way there's 0 chance of ever having compatibility issues with outside packages like vite-dts etc. No need to use new school syntax on such a simple file being autogenerated.The text was updated successfully, but these errors were encountered: