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
Hi,
I'm in the process of upgrading from version 2.5.3 to 6.4.3 and noticed that the generic type from the Cursor class has been removed and the current version only returns unknown for the values instead.
For me it seems like the library became, at least for the consumer, less typesafe with the switch to Typescript.
Is there a particular reason for this change?
The text was updated successfully, but these errors were encountered:
I don't really recall the motivation but I would guess it was done to encourage explicit casting. We can certainly restore the generic type and default to unknown.
Hi,
I'm in the process of upgrading from version 2.5.3 to 6.4.3 and noticed that the generic type from the Cursor class has been removed and the current version only returns
unknown
for the values instead.For me it seems like the library became, at least for the consumer, less typesafe with the switch to Typescript.
Is there a particular reason for this change?
The text was updated successfully, but these errors were encountered: