-
Notifications
You must be signed in to change notification settings - Fork 85
7.1 version breaks TypeScript projects by declaring optional properties as required #146
Comments
Hi @ngbrown I can't repro, could you provide some info on your setup / TS version? |
I'm using |
When updated to I'm using the older When I update to the latest I think this must be because this library is requiring a newer react type dependency that has added Maybe relying on the oldest possible version of the types would fix this? Or using a peer-dependency instead? |
I'm getting an error likely related to this, with v7.1:
Just using TextareaAutosize with TS as (not providing an
|
Same issue here. |
There is no v7.1 tag in this repository, but it is appearing as latest on npm.
Once I updated my project to that version, I am getting the following error:
when being used like this:
Even adding a
translate={'no'}
property doesn't resolve the error.Going back to
react-autosize-textarea@7.0.0
(without thetranslate
property) also resolves the error.The text was updated successfully, but these errors were encountered: