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 type for codegen #578

Merged
merged 2 commits into from
Sep 30, 2024
Merged

Fix type for codegen #578

merged 2 commits into from
Sep 30, 2024

Conversation

MrOrz
Copy link
Member

@MrOrz MrOrz commented Sep 29, 2024

Current API on master branch actually cannot run npm run typegen. (see discussion)

This PR fixes the issue by converting Thumbnail component to Typescript and define relevant types.

- Thumbnail being js somehow break codegen extraction in CooccurrenceSection
    - Ref: dotansimha/graphql-code-generator#8570 (comment)
- remove `??` to make old prettier happy
@MrOrz MrOrz self-assigned this Sep 29, 2024
@coveralls
Copy link

Coverage Status

coverage: 71.353%. remained the same
when pulling 5a2f69c on fix-type
into 5eddb4f on master.

@MrOrz MrOrz merged commit d476eeb into master Sep 30, 2024
5 checks passed
@MrOrz MrOrz deleted the fix-type branch September 30, 2024 05:07
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.

4 participants