-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Add explicit type for jsr compliance #492
base: main
Are you sure you want to change the base?
Conversation
To comply with jsr.io, add an explicit return type.
Run & review this pull request in StackBlitz Codeflow. |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Looks good to me, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jsr compliance
Update tests to match the new generated code with the type anotated getter.
I just changed the test files to add the same type annotation on the getter, however please note that I'm not familiar with how your testing works, so make sure that changing those files makes sense |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it looks like this isn't the only issue with JSR, how about we wait until they respond?
Yeah there's no rush at all, feel free to use this or close it as you best see fit. We already found a workaround for now where we just |
We are trying to publish our client generated through openapi-ts to jsr. However, we run into the following error:
After doing this change the publish command succeeds.
For more info about jsr: https://jsr.io/#why-jsr