Closed pyramation closed 2 years ago
should be fixed with #66
Sadly, the error seems to persist after the version bump: https://github.com/grod220/ts-codegen-example
I left one case out — please try now! thanks @grod220
Successfully published:
- @cosmwasm/ts-codegen@0.16.1
Sorry, but think I found a follow up issue with the types is generates for this. It generates something like:
import { ArrayOf_SharesResponseItem } from "./AccountNft.types";
export interface AccountNftReadOnlyInterface {
allDebtShares: () => Promise<ArrayOfSharesResponseItem>;
}
This does not compile because the import has an underscore _
in the name and the type does not.
schema https://gist.github.com/pyramation/f6c5cb37a13ed461fd7cbbcf7b13422b
culprit: