Skip to content

Commit

Permalink
fix T.any
Browse files Browse the repository at this point in the history
  • Loading branch information
helenye-stripe committed Nov 19, 2024
1 parent 668ed47 commit b1df5e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rbi/stripe/resources/event.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion rbi/stripe/resources/payment_intent.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion rbi/stripe/resources/setup_intent.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1df5e1

Please sign in to comment.