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

chore(gatsby): migrate pageData reducer to TypeScript #23738

Merged
merged 2 commits into from
May 5, 2020

Conversation

taejs
Copy link
Contributor

@taejs taejs commented May 4, 2020

Description

migrate pageData reducer to TypeScript

Related Issues

Related to #21995

@taejs taejs requested a review from a team as a code owner May 4, 2020 13:20
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label May 4, 2020
@pieh pieh self-assigned this May 4, 2020
@pieh pieh added type: TypeScript migration and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels May 4, 2020
@pieh
Copy link
Contributor

pieh commented May 4, 2020

Could we also adjust

as part of this pull request so it's no longer any?

Copy link
Contributor

@pieh pieh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#23738 (comment) (so the shape of reducer state is actually typed)

  • some adjustments needed for ISetPageDataAction type

@taejs taejs force-pushed the ts-migration/page-data-reducer branch from 6d0a410 to 61b4c87 Compare May 5, 2020 08:02
…/page-data-reducer

� Conflicts:
�	packages/gatsby/src/redux/reducers/index.js
Copy link
Contributor

@pieh pieh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking great! Thanks @taejs!

@pieh pieh merged commit 18b1628 into gatsbyjs:master May 5, 2020
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.

2 participants