From 4f756ae1659094e8c44b0d63b78b59b80874e952 Mon Sep 17 00:00:00 2001 From: Lucas Chociay Date: Wed, 26 Oct 2022 13:33:26 -0300 Subject: [PATCH] fix: fix value in sanitized options --- src/types/elements/options.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/types/elements/options.ts b/src/types/elements/options.ts index 7535ca90..9e047d57 100644 --- a/src/types/elements/options.ts +++ b/src/types/elements/options.ts @@ -31,6 +31,10 @@ interface SanitizedElementOptions { iconPosition?: string; cardBrand?: string; autoComplete?: string; + value?: + | CardElementValue<'static'> + | CardExpirationDateValue<'static'> + | string; } type ElementOptions = ElementInternalOptions & SanitizedElementOptions;