bc750438c2
* Convert CartLineItemsTitle to TypeScript * Add type guards * Change CartLineItemRow extension to .tsx * Remove parseInt from price precision This is because the API sends it as a number, so it will never be a string, so no need to parse it. * Add dinero.js types * Type QuantitySelector and add types for @wordpress/keycodes * Make __experimentalApplyCheckoutFilter use generic types * Add catalog_visibility type & change types of CartItem * Add isNumber and isString to type guards * Type ProductLowStockBadge * Ensure type returned by a filter function is the same it received * Include type guards and hooks in tsconfig * Add more type safety to useStoreCartItemQuantity * Make className optional on QuantitySelector * Type CartLineItemRow * Type CartLineItemsTable * Type Cart * Add extra keys to CartResponseItem * Clean aria-hidden logic * Export type-guards from module * Use aliases to import types in CartLineItemRow * Remove unused prop types and specify return type of function * Specify return type of component * Use JSX.Element instead of ReactNode * Remove unused variables & set return type of components * Remove PropTypes |
||
---|---|---|
.. | ||
error-boundary | ||
order-meta | ||
order-shipping-packages | ||
panel | ||
registry | ||
slot | ||
totals | ||
utils | ||
index.js | ||
style.scss |