From 7ff4203fcf7a5f36b8ad421f23838746585dbbc4 Mon Sep 17 00:00:00 2001 From: nkdengineer Date: Thu, 31 Oct 2024 10:31:24 +0700 Subject: [PATCH] fix: type markdown native event --- src/MarkdownTextInput.web.tsx | 4 ++-- src/web/utils/inputUtils.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/MarkdownTextInput.web.tsx b/src/MarkdownTextInput.web.tsx index 185b4f12..d169ea42 100644 --- a/src/MarkdownTextInput.web.tsx +++ b/src/MarkdownTextInput.web.tsx @@ -37,7 +37,7 @@ interface MarkdownTextInputProps extends TextInputProps, InlineImagesInputProps } interface MarkdownNativeEvent extends Event { - inputType: string; + inputType?: string; } type MarkdownTextInput = TextInput & React.Component; @@ -316,7 +316,7 @@ const MarkdownTextInput = React.forwardRef