cozy-ui icon indicating copy to clipboard operation
cozy-ui copied to clipboard

refacto: Convert withLocales into typescript

Open cballevre opened this issue 1 year ago • 1 comments

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 avatar Mar 08 '23 07:03 cballevre

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 ➡️


Current branch size history | Target branch size history

bundlemon[bot] avatar Mar 08 '23 07:03 bundlemon[bot]