From 853ccc6f03fc66e691358f10691a6e014af57ca0 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..390290e2a 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.untyped]) } attr_reader :object - sig { returns(T::Hash[String, T.any()]) } + sig { returns(T::Hash[String, T.untyped]) } 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..0b9d5efe1 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.untyped]) } 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..853b4535b 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.untyped]) } attr_reader :use_stripe_sdk sig { returns(VerifyWithMicrodeposits) } attr_reader :verify_with_microdeposits