Skip to content

DateTime: Remove unused types#45615

Merged
walbo merged 1 commit intotrunkfrom
fix/date-time-remove-unused-types
Nov 9, 2022
Merged

DateTime: Remove unused types#45615
walbo merged 1 commit intotrunkfrom
fix/date-time-remove-unused-types

Conversation

@walbo
Copy link
Copy Markdown
Member

@walbo walbo commented Nov 8, 2022

What?

The date-time component inlcudes usued types. These can be removed.

Why?

Cleanup code to only have types used.

How?

Removed DatePickerDayProps from types.ts in date-time.

Testing Instructions

Run npm run dev and confirm no type erros.

@walbo walbo added [Type] Code Quality Issues or PRs that relate to code quality [Package] Components /packages/components labels Nov 8, 2022
@walbo walbo requested review from ciampo and mirka November 8, 2022 22:12
@walbo walbo requested a review from ajitbohra as a code owner November 8, 2022 22:12
@codesandbox
Copy link
Copy Markdown

codesandbox bot commented Nov 8, 2022

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@walbo walbo self-assigned this Nov 8, 2022
Copy link
Copy Markdown
Member

@mirka mirka left a comment

Choose a reason for hiding this comment

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

Thanks for the cleanup 🧹

@walbo walbo merged commit a607db3 into trunk Nov 9, 2022
@walbo walbo deleted the fix/date-time-remove-unused-types branch November 9, 2022 20:36
@github-actions github-actions bot added this to the Gutenberg 14.6 milestone Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Components /packages/components [Type] Code Quality Issues or PRs that relate to code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants