We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have read through docs and issues, and haven't been able to find out if there's a way to do this.
The tool currently generates array types in data-contracts.ts using the following syntax:
data-contracts.ts
export interface ModuleListResponse { modules: { description: string; title: string; version: number; }[]; }
For the purposes of readability and consistency in our codebase, I'd like to generate the type using the generic syntax:
export interface ModuleListResponse { modules: Array<{ description: string; title: string; version: number; }>; }
Is there a way to accomplish this in the current implementation?
The text was updated successfully, but these errors were encountered:
Added support of this feature in 11.0.0 --another-array-type option
--another-array-type
Sorry, something went wrong.
No branches or pull requests
I have read through docs and issues, and haven't been able to find out if there's a way to do this.
Current behavior
The tool currently generates array types in
data-contracts.ts
using the following syntax:Desired behavior
For the purposes of readability and consistency in our codebase, I'd like to generate the type using the generic syntax:
Is there a way to accomplish this in the current implementation?
The text was updated successfully, but these errors were encountered: