You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.
This makes compile error Property 'onPaste' of type '(e: ClipboardEvent<any>) => void' is not assignable to string index type '(e: ChangeEvent<HTMLInputElement>) . this should be fixed by more explicit type declaration on method:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
The text was updated successfully, but these errors were encountered:
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
this is
_getEventHandlers
method inMaskedInput.tsx
:...And the source is compiled as:
Though
_keyPressPropName
is Union type, because of typescript issue that union type cannot be a key of object,_getEventHandlers
is compiled withx
key which is a string type.This makes compile error
Property 'onPaste' of type '(e: ClipboardEvent<any>) => void' is not assignable to string index type '(e: ChangeEvent<HTMLInputElement>)
. this should be fixed by more explicit type declaration on method:which is compiled liked this:
The text was updated successfully, but these errors were encountered: