Dominik Moritz created ARROW-13790:
--------------------------------------

             Summary: Move ts files into a source directory in bundle
                 Key: ARROW-13790
                 URL: https://issues.apache.org/jira/browse/ARROW-13790
             Project: Apache Arrow
          Issue Type: Bug
          Components: JavaScript
            Reporter: Dominik Moritz


RIght now, we publish the ts source files alongside the js, mjs, map, and .d.ts 
files. Because of how tsc works 
(https://github.com/microsoft/TypeScript/issues/10704), it will use the ts 
files instead of the d.ts files. That can lead to problems with compiling with 
never tsc versions and is more expensive than if tsc uses the d.ts files. To 
avoid this problem, we should move the sources into a sources directory. We 
need to make sure that declaration maps still work. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to