You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Dominik Moritz (Jira)" <ji...@apache.org> on 2021/10/05 15:24:00 UTC

[jira] [Resolved] (ARROW-13790) Move ts files into a source directory in bundle

     [ https://issues.apache.org/jira/browse/ARROW-13790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dominik Moritz resolved ARROW-13790.
------------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>
> 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)