From 9830ac6f0636f8f42c6fe8638e173b926d1eab66 Mon Sep 17 00:00:00 2001 From: foooomio Date: Tue, 29 Sep 2020 04:22:16 +0900 Subject: [PATCH] fix(TextArea): fix textarea onChange type (#4079) --- src/addons/TextArea/TextArea.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addons/TextArea/TextArea.d.ts b/src/addons/TextArea/TextArea.d.ts index b019d3d5cd..1cfbe374c6 100644 --- a/src/addons/TextArea/TextArea.d.ts +++ b/src/addons/TextArea/TextArea.d.ts @@ -14,7 +14,7 @@ export interface StrictTextAreaProps { * @param {SyntheticEvent} event - The React SyntheticEvent object * @param {object} data - All props and the event value. */ - onChange?: (event: React.FormEvent, data: TextAreaProps) => void + onChange?: (event: React.ChangeEvent, data: TextAreaProps) => void /** * Called on input.