{ message }
{ linkUrl && linkText && ( diff --git a/client/my-sites/checkout/src/components/titan-terms-of-service.jsx b/client/my-sites/checkout/src/components/titan-terms-of-service.tsx similarity index 86% rename from client/my-sites/checkout/src/components/titan-terms-of-service.jsx rename to client/my-sites/checkout/src/components/titan-terms-of-service.tsx index 8c513b83138fbc..1d30c03ecc47a9 100644 --- a/client/my-sites/checkout/src/components/titan-terms-of-service.jsx +++ b/client/my-sites/checkout/src/components/titan-terms-of-service.tsx @@ -1,11 +1,16 @@ -import { localize } from 'i18n-calypso'; +import { ResponseCart } from '@automattic/shopping-cart'; +import { LocalizeProps, localize } from 'i18n-calypso'; import { hasTitanMail } from 'calypso/lib/cart-values/cart-items'; import { getTitanProductName } from 'calypso/lib/titan'; import CheckoutTermsItem from 'calypso/my-sites/checkout/src/components/checkout-terms-item'; -/* eslint-disable wpcalypso/jsx-classname-namespace */ - -function TitanTermsOfService( { cart, translate } ) { +function TitanTermsOfService( { + cart, + translate, +}: { + cart: ResponseCart; + translate: LocalizeProps[ 'translate' ]; +} ) { if ( ! hasTitanMail( cart ) ) { return null; } diff --git a/client/my-sites/checkout/src/components/upsell.jsx b/client/my-sites/checkout/src/components/upsell.tsx similarity index 70% rename from client/my-sites/checkout/src/components/upsell.jsx rename to client/my-sites/checkout/src/components/upsell.tsx index 5e6cd74ca09742..e682b05f1788b2 100644 --- a/client/my-sites/checkout/src/components/upsell.jsx +++ b/client/my-sites/checkout/src/components/upsell.tsx @@ -1,4 +1,4 @@ -export function UpSellCoupon( { onClick } ) { +export function UpSellCoupon( { onClick }: { onClick: () => void } ) { return (