From b212d6b6f4f10e127d9a35015d013c5434d86a1f Mon Sep 17 00:00:00 2001 From: Lucas Chociay Date: Wed, 26 Oct 2022 13:57:42 -0300 Subject: [PATCH] fix: fix value in sanitized options (#243) --- 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;