From b1df5e1af902924cf5ef76c7e3de98c943bfe5e6 Mon Sep 17 00:00:00 2001 From: Helen Ye Date: Tue, 19 Nov 2024 17:55:35 -0500 Subject: [PATCH] fix T.any --- rbi/stripe/resources/event.rbi | 4 ++-- rbi/stripe/resources/payment_intent.rbi | 2 +- rbi/stripe/resources/setup_intent.rbi | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rbi/stripe/resources/event.rbi b/rbi/stripe/resources/event.rbi index 0ea7ccaef..027370107 100644 --- a/rbi/stripe/resources/event.rbi +++ b/rbi/stripe/resources/event.rbi @@ -35,9 +35,9 @@ module Stripe # for 30 days. class Event < APIResource class Data < Stripe::StripeObject - sig { returns(T::Hash[String, T.any()]) } + sig { returns(T::Hash[String, T.any]) } attr_reader :object - sig { returns(T::Hash[String, T.any()]) } + sig { returns(T::Hash[String, T.any]) } attr_reader :previous_attributes end class Reason < Stripe::StripeObject diff --git a/rbi/stripe/resources/payment_intent.rbi b/rbi/stripe/resources/payment_intent.rbi index d6edd6d96..e2ca26b49 100644 --- a/rbi/stripe/resources/payment_intent.rbi +++ b/rbi/stripe/resources/payment_intent.rbi @@ -456,7 +456,7 @@ module Stripe attr_reader :swish_handle_redirect_or_display_qr_code sig { returns(String) } attr_reader :type - sig { returns(T::Hash[String, T.any()]) } + sig { returns(T::Hash[String, T.any]) } attr_reader :use_stripe_sdk sig { returns(VerifyWithMicrodeposits) } attr_reader :verify_with_microdeposits diff --git a/rbi/stripe/resources/setup_intent.rbi b/rbi/stripe/resources/setup_intent.rbi index 3ff54f8b1..01940bfe2 100644 --- a/rbi/stripe/resources/setup_intent.rbi +++ b/rbi/stripe/resources/setup_intent.rbi @@ -96,7 +96,7 @@ module Stripe attr_reader :redirect_to_url sig { returns(String) } attr_reader :type - sig { returns(T::Hash[String, T.any()]) } + sig { returns(T::Hash[String, T.any]) } attr_reader :use_stripe_sdk sig { returns(VerifyWithMicrodeposits) } attr_reader :verify_with_microdeposits