Skip to content

Commit d2a2cdf

Browse files
authored
Fix JSDoc elements link (#608)
1 parent 8b06bcf commit d2a2cdf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/types/index.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -685,23 +685,23 @@ declare module '@stripe/stripe-js' {
685685
): stripeJs.StripeCardElement | null;
686686

687687
/**
688-
* Returns the underlying [element instance](https://stripe.com/docs/js/elements_object/create_element?type=card) for the `CardNumberElement` component in the current [Elements](https://stripe.com/docs/stripe-js/react#elements-provider) provider tree.
688+
* Returns the underlying [element instance](https://stripe.com/docs/js/elements_object/create_element?type=cardNumber) for the `CardNumberElement` component in the current [Elements](https://stripe.com/docs/stripe-js/react#elements-provider) provider tree.
689689
* Returns `null` if no `CardNumberElement` is rendered in the current `Elements` provider tree.
690690
*/
691691
getElement(
692692
component: CardNumberElementComponent
693693
): stripeJs.StripeCardNumberElement | null;
694694

695695
/**
696-
* Returns the underlying [element instance](https://stripe.com/docs/js/elements_object/create_element?type=card) for the `CardCvcElement` component in the current [Elements](https://stripe.com/docs/stripe-js/react#elements-provider) provider tree.
696+
* Returns the underlying [element instance](https://stripe.com/docs/js/elements_object/create_element?type=cardCvc) for the `CardCvcElement` component in the current [Elements](https://stripe.com/docs/stripe-js/react#elements-provider) provider tree.
697697
* Returns `null` if no `CardCvcElement` is rendered in the current `Elements` provider tree.
698698
*/
699699
getElement(
700700
component: CardCvcElementComponent
701701
): stripeJs.StripeCardCvcElement | null;
702702

703703
/**
704-
* Returns the underlying [element instance](https://stripe.com/docs/js/elements_object/create_element?type=card) for the `CardExpiryElement` component in the current [Elements](https://stripe.com/docs/stripe-js/react#elements-provider) provider tree.
704+
* Returns the underlying [element instance](https://stripe.com/docs/js/elements_object/create_element?type=cardExpiry) for the `CardExpiryElement` component in the current [Elements](https://stripe.com/docs/stripe-js/react#elements-provider) provider tree.
705705
* Returns `null` if no `CardExpiryElement` is rendered in the current `Elements` provider tree.
706706
*/
707707
getElement(
@@ -717,7 +717,7 @@ declare module '@stripe/stripe-js' {
717717
): stripeJs.StripeFpxBankElement | null;
718718

719719
/**
720-
* Returns the underlying [element instance](https://stripe.com/docs/js/elements_object/create_element?type=card) for the `IbanElement` component in the current [Elements](https://stripe.com/docs/stripe-js/react#elements-provider) provider tree.
720+
* Returns the underlying [element instance](https://stripe.com/docs/js/elements_object/create_element?type=iban) for the `IbanElement` component in the current [Elements](https://stripe.com/docs/stripe-js/react#elements-provider) provider tree.
721721
* Returns `null` if no `IbanElement` is rendered in the current `Elements` provider tree.
722722
*/
723723
getElement(
@@ -773,7 +773,7 @@ declare module '@stripe/stripe-js' {
773773
): stripeJs.StripeElement | null;
774774

775775
/**
776-
* Returns the underlying [element instance](https://stripe.com/docs/js/elements_object/create_element?type=card) for the `PaymentRequestButtonElement` component in the current [Elements](https://stripe.com/docs/stripe-js/react#elements-provider) provider tree.
776+
* Returns the underlying [element instance](https://stripe.com/docs/js/elements_object/create_element?type=paymentRequestButton) for the `PaymentRequestButtonElement` component in the current [Elements](https://stripe.com/docs/stripe-js/react#elements-provider) provider tree.
777777
* Returns `null` if no `PaymentRequestButtonElement` is rendered in the current `Elements` provider tree.
778778
*/
779779
getElement(
@@ -805,15 +805,15 @@ declare module '@stripe/stripe-js' {
805805
): stripeJs.StripePaymentMethodMessagingElement | null;
806806

807807
/**
808-
* Returns the underlying [element instance](https://stripe.com/docs/js/elements_object/create_element?type=card) for the `AffirmMessageElement` component in the current [Elements](https://stripe.com/docs/stripe-js/react#elements-provider) provider tree.
808+
* Returns the underlying [element instance](https://stripe.com/docs/js/elements_object/create_element?type=affirmMessage) for the `AffirmMessageElement` component in the current [Elements](https://stripe.com/docs/stripe-js/react#elements-provider) provider tree.
809809
* Returns `null` if no `AffirmMessageElement` is rendered in the current `Elements` provider tree.
810810
*/
811811
getElement(
812812
component: AffirmMessageElementComponent
813813
): stripeJs.StripeAffirmMessageElement | null;
814814

815815
/**
816-
* Returns the underlying [element instance](https://stripe.com/docs/js/elements_object/create_element?type=card) for the `AfterpayClearpayMessageElement` component in the current [Elements](https://stripe.com/docs/stripe-js/react#elements-provider) provider tree.
816+
* Returns the underlying [element instance](https://stripe.com/docs/js/elements_object/create_element?type=afterpayClearpayMessage) for the `AfterpayClearpayMessageElement` component in the current [Elements](https://stripe.com/docs/stripe-js/react#elements-provider) provider tree.
817817
* Returns `null` if no `AfterpayClearpayMessageElement` is rendered in the current `Elements` provider tree.
818818
*/
819819
getElement(

0 commit comments

Comments
 (0)