-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Open
Labels
EnhancementThe issue is a request for an enhancement.The issue is a request for an enhancement.KirigamiWC Store Editing (FSE)WC Store Editing (FSE)type: cooldownThings that are queued for a cooldown period (assists with planning).Things that are queued for a cooldown period (assists with planning).type: epicContainer issue with high-level description of work that will be done in sprint.Container issue with high-level description of work that will be done in sprint.type: refactorThe issue/PR is related to refactoring.The issue/PR is related to refactoring.
Description
While the majority of files have been converted from JS to TS, we still have a few JS files that use propTypes definitions. In addition, we also have a few TSX files that use propTypes definitions.
Steps to reproduce
- Search for
propTypesin your favourite IDE. - Exclude the following files/folders:
build, node_modules, vendor, storybook, .xml, .json, reports
Running these steps, I can find 211 results in 36 files.
Expected outcome
I suggest we eliminate all propTypes definitions and utilize TypeScript (TS/TSX) for type checking.
### To do
- [ ] woocommerce/woocommerce-blocks#9524
- [ ] woocommerce/woocommerce-blocks#9526
- [ ] woocommerce/woocommerce-blocks#9539
- [ ] woocommerce/woocommerce-blocks#9542
- [ ] woocommerce/woocommerce#42360
- [ ] woocommerce/woocommerce#42294
### Done
- [ ] woocommerce/woocommerce-blocks#9514
- [ ] woocommerce/woocommerce-blocks#9515
- [ ] woocommerce/woocommerce-blocks#9516
- [ ] woocommerce/woocommerce-blocks#9517
- [ ] woocommerce/woocommerce-blocks#9518
- [ ] woocommerce/woocommerce-blocks#9519
- [ ] woocommerce/woocommerce-blocks#9520
- [ ] woocommerce/woocommerce-blocks#9521
- [ ] woocommerce/woocommerce-blocks#9522
- [ ] woocommerce/woocommerce-blocks#9523
- [ ] woocommerce/woocommerce-blocks#9525
- [ ] woocommerce/woocommerce-blocks#9527
- [ ] woocommerce/woocommerce-blocks#9528
- [ ] woocommerce/woocommerce-blocks#9529
- [ ] woocommerce/woocommerce-blocks#9530
- [ ] woocommerce/woocommerce-blocks#9531
- [ ] woocommerce/woocommerce-blocks#9532
- [ ] woocommerce/woocommerce-blocks#9533
- [ ] woocommerce/woocommerce-blocks#9534
- [ ] woocommerce/woocommerce-blocks#9535
- [ ] woocommerce/woocommerce-blocks#9536
- [ ] woocommerce/woocommerce-blocks#9537
- [ ] woocommerce/woocommerce-blocks#9538
- [ ] woocommerce/woocommerce-blocks#9540
- [ ] woocommerce/woocommerce-blocks#9541
- [ ] woocommerce/woocommerce-blocks#9544
- [ ] woocommerce/woocommerce-blocks#9545
- [ ] woocommerce/woocommerce-blocks#9546
- [ ] woocommerce/woocommerce-blocks#9547
- [ ] woocommerce/woocommerce-blocks#9548
Metadata
Metadata
Assignees
Labels
EnhancementThe issue is a request for an enhancement.The issue is a request for an enhancement.KirigamiWC Store Editing (FSE)WC Store Editing (FSE)type: cooldownThings that are queued for a cooldown period (assists with planning).Things that are queued for a cooldown period (assists with planning).type: epicContainer issue with high-level description of work that will be done in sprint.Container issue with high-level description of work that will be done in sprint.type: refactorThe issue/PR is related to refactoring.The issue/PR is related to refactoring.