Skip to content

Remove redundant type parameters in generated API client code #288

New issue

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

Open
radist2s opened this issue Apr 12, 2025 · 0 comments · May be fixed by #290
Open

Remove redundant type parameters in generated API client code #288

radist2s opened this issue Apr 12, 2025 · 0 comments · May be fixed by #290
Assignees
Labels
enhancement New feature or request

Comments

@radist2s
Copy link
Collaborator

Problem

Currently generated code includes unnecessary type parameters in qraftAPIClient calls:

qraftAPIClient<Services, ServiceMethods>(services, callbacks, options)

These explicit type parameters are redundant as TypeScript can infer them:

qraftAPIClient(services, callbacks, options)
@radist2s radist2s linked a pull request Apr 12, 2025 that will close this issue
@radist2s radist2s self-assigned this Apr 12, 2025
@radist2s radist2s added the enhancement New feature or request label Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant