darksabrefr commented on issue #52: URL: https://github.com/apache/arrow-js/issues/52#issuecomment-3307955990
> * All `@types` dependencies, as those should be installed separately only when using TypeScript. Absolutely not. When you add a package like this lib to your dependencies' project, you install it in the development context of your project, and you need the types used and exposed by the library to be installed too, even if your project is JS only. Your IDE will use it and help you with these types. Now, not all types have to be production dependencies, only those publicly used or visible, like those used in args and/or functions' returns that are exported by the lib. Only others @types can be moved to dev deps. However, this lib define a version range, and not only `*`, for @types/node, and it's not something desirable because it often causes more problems than it solves, especially when a new major version of @types/node spawns while this lib's deps are not upgraded for a long time. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
