Просмотр исходного кода

Use PaymentContextValue type instead of direct boolean (#23185)

GitOrigin-RevId: 2e1af64a40a4b98f84fbd7a024b1facd18e0fe90
M Fahru 1 год назад
Родитель
Сommit
438bd76c61
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      services/web/types/subscription/payment-context-value.tsx

+ 3 - 1
services/web/types/subscription/payment-context-value.tsx

@@ -70,5 +70,7 @@ export type PaymentContextValue = {
   userCanNotStartRequestedTrial: boolean
   userCanNotStartRequestedTrial: boolean
   showStudentConfirmation: boolean
   showStudentConfirmation: boolean
   studentConfirmationChecked: boolean
   studentConfirmationChecked: boolean
-  setStudentConfirmationChecked: React.Dispatch<React.SetStateAction<boolean>>
+  setStudentConfirmationChecked: React.Dispatch<
+    React.SetStateAction<PaymentContextValue['studentConfirmationChecked']>
+  >
 }
 }