Add additional typescript types to useFragment codegen
Maybe some changes in test cases required
Description
A small PR to fix #10277
Related #10277
Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
Screenshots/Sandbox (if appropriate/relevant):
Adding links to sandbox or providing screenshots can help us understand more about this PR and take action on it as appropriate
How Has This Been Tested?
I substitute my fork to my actual project and regenerated code. Error was gone.
Checklist:
- [x] I have followed the CONTRIBUTING doc and the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [x] Any dependent changes have been merged and published in downstream modules
Further comments
I dont know why but test cases on my machine wont run at all. Sorry, don't have more time working on this PR and sorry for my english
🦋 Changeset detected
Latest commit: aef8705df950796c0826b5a752bdb947d4f7aad6
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type |
|---|---|
| @graphql-codegen/client-preset | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
@n1ru4l ok I’ll take a look soon
@n1ru4l Looks like it done, let me know if something wrong