From a2778c7cb12d424a6a0189eb872929a332e1c01d Mon Sep 17 00:00:00 2001 From: nkdengineer <161821005+nkdengineer@users.noreply.github.com> Date: Mon, 4 Nov 2024 17:39:24 +0700 Subject: [PATCH] fix: type markdown native event (#531) --- 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