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

refacto: Convert withLocales into typescript #2370

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cballevre
Copy link
Member

With @Ldoppea, we convert withLocales to Typescript. We keep the Proptypes used for overloads in applications. To make them work with Typescript we infer the type with InferProps. This PR needs more testing with apps to ensure the overloads will continue to work.

@cballevre cballevre changed the title refacto(withLocales): Convert into typescript refacto: Convert withLocales into typescript Mar 8, 2023
@bundlemon
Copy link

bundlemon bot commented Mar 8, 2023

BundleMon

Unchanged files (2)
Status Path Size Limits
dist/cozy-ui.min.css
19.67KB +5%
dist/cozy-ui.utils.min.css
9.99KB +5%

No change in files bundle size

Groups updated (1)
Status Path Size Limits
transpiled/react/**
546.05KB (+764B +0.14%) -

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

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.

None yet

1 participant