Open
Description
Subject of the issue
when i try to create npm lib from generated client i receive error Error: ImportEquals should have a literal source.
error is in line "import SimulateResponse = modelsv2.SimulateResponse;"
when i remove the line and reference the simulate endpoints directly from algosdk lib it works
simulate(): Promise<GasStationComposerResults<TReturns> & { simulateResponse: SimulateResponse }>
simulate(options: SkipSignaturesSimulateOptions): Promise<GasStationComposerResults<TReturns> & { simulateResponse: SimulateResponse }>
simulate(options: RawSimulateOptions): Promise<GasStationComposerResults<TReturns> & { simulateResponse: SimulateResponse }>
to
simulate(): Promise<GasStationComposerResults<TReturns> & { simulateResponse: modelsv2.SimulateResponse }>
simulate(options: SkipSignaturesSimulateOptions): Promise<GasStationComposerResults<TReturns> & { simulateResponse: modelsv2.SimulateResponse }>
simulate(options: RawSimulateOptions): Promise<GasStationComposerResults<TReturns> & { simulateResponse: modelsv2.SimulateResponse }>
Your environment
windows
Steps to reproduce
- create smart contract
- generate client
- use tsup to build npm package
Expected behaviour
Actual behaviour
Metadata
Metadata
Assignees
Labels
No labels