Replies: 1 comment 3 replies
-
We regularly make new major releases and stricter types are usually good as they avoid bugs. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings, I just started exploring Arrow and DuckDB, and I must admit it's quite interesting, however... I was hurting a bit to not be able to get full type safety with typescript intellisense of vscodium. I saw #192, and it looks somewhat related.
When I request the fields I just end up with an array of fields... Meh, having a typed object would be much cooler, wouldn't it?
Here's how I partially implemented my type safety:
helper.ts
allows me to infer the constructor params as tuples:student.ts
to check out intellisenseSo I would like to ask if there's any chance to modify the library to return more meaningful types. This would break some code, since the types returned would change and some dev might depend on the type defintions (altough not super useful).
Beta Was this translation helpful? Give feedback.
All reactions