Closed rafma0 closed 1 year ago
Hi, while trying your lib I noticed the 3rd param for registerWithMask wasn't getting the types correctly
registerWithMask
I'm not sure its the best way to fix it, but I did it importing Inputmask to types.ts
Inputmask
types.ts
Another thing is the options for react-hook-form were getting passed to inputmask, so I separated them to a 4th param
react-hook-form
inputmask
Hope those fixes are OK and thank you :)
:tada: This PR is included in version 3.3.4 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Hi, while trying your lib I noticed the 3rd param for
registerWithMask
wasn't getting the types correctlyI'm not sure its the best way to fix it, but I did it importing
Inputmask
totypes.ts
Another thing is the options for
react-hook-form
were getting passed toinputmask
, so I separated them to a 4th paramHope those fixes are OK and thank you :)