Skip to content
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

fix: Use explicit return type for from/schema/rpc #975

Merged
merged 1 commit into from Feb 14, 2024
Merged

Conversation

kamilogorek
Copy link
Member

@kamilogorek kamilogorek commented Feb 13, 2024

Use ReturnType as we implement those methods as a pass-through.
Tbh why this isn't inferred correctly by TypeScript is beyond me...

Verified on our own API repository this time to make sure it works correctly for all cases.

Fixes #974
Fixes #973 (comment)

@coveralls
Copy link

Pull Request Test Coverage Report for Build 7892003467

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 65.385%

Totals Coverage Status
Change from base Build 7887450042: 0.0%
Covered Lines: 89
Relevant Lines: 116

💛 - Coveralls

@soedirgo soedirgo merged commit b9cb9e1 into master Feb 14, 2024
1 check passed
@soedirgo soedirgo deleted the fix-return-type branch February 14, 2024 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Version v2.39.2 and above break types
3 participants