cozy-ui
cozy-ui copied to clipboard
refacto: Convert withLocales into typescript
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.
BundleMon
Unchanged files (2)
Status | Path | Size | Limits |
---|---|---|---|
:white_check_mark: | dist/cozy-ui.min.css |
19.67KB | +5% |
:white_check_mark: | dist/cozy-ui.utils.min.css |
9.99KB | +5% |
No change in files bundle size
Groups updated (1)
Status | Path | Size | Limits |
---|---|---|---|
:white_check_mark: | transpiled/react/** |
546.05KB (+764B +0.14%) | - |
Final result: :white_check_mark:
View report in BundleMon website ➡️