jcludwig commented on issue #39970: URL: https://github.com/apache/arrow/issues/39970#issuecomment-2221478840
This is not an issue of bundling, the problem is with TypeScript compilation. I believe the root cause is probably the use of NodeJS types in `compat.ts` (https://github.com/apache/arrow/blob/2ae192b4aca6017a141dc52f78b5dec4ad2f2874/js/src/util/compat.ts#L21). I believe this file must be getting imported through some path from the `Arrow.dom.ts` module. In my view the correct fix is for the apache-arrow project to make sure that the Arrow.dom module does not have any imports to NodeJS code, including types. Importing any module that imports these types will pollute the TypeScript type context since NodeJS declares ambient types that conflict with browser types. -- 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]
