From 3bbe5ba966f3417bbda511731039e257e48103fa Mon Sep 17 00:00:00 2001 From: foooomio Date: Tue, 29 Sep 2020 04:16:26 +0900 Subject: [PATCH] fix(TextArea): fix textarea onChange type --- 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.