Skip to content

Convert edit.js to edit.tsx and replace propTypes with TypeScript definitions #42363

Open
woocommerce/woocommerce-blocks
#9782
@nielslange

Description

@nielslange

Problem

assets/js/blocks/products/all-products/edit.js is a JS file and uses propTypes definitions.

Expected outcome

  1. Convert the file from edit.js to edit.tsx.
  2. Replace propTypes with TypeScript definitions.

Metadata

Metadata

Assignees

Labels

priority: normalThe issue/PR is of normal priority—not many people are affected or there’s a workaround, etc.team: Kirigami & OrigamiWC Store Editing (FSE)type: cooldownThings that are queued for a cooldown period (assists with planning).type: enhancementThe issue is a request for an enhancement.type: refactorThe issue/PR is related to refactoring.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions